aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp')
-rw-r--r--networking/udhcp/dhcprelay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c
index a3ea327c3..78a1b5e62 100644
--- a/networking/udhcp/dhcprelay.c
+++ b/networking/udhcp/dhcprelay.c
@@ -257,7 +257,8 @@ static void dhcprelay_loop(int *fds, int num_sockets, int max_socket, char **cli
{
struct dhcpMessage dhcp_msg;
fd_set rfds;
- size_t packlen, addr_size;
+ size_t packlen;
+ socklen_t addr_size;
struct sockaddr_in client_addr;
struct timeval tv;
int i;