diff options
Diffstat (limited to 'networking/udhcp/dhcprelay.c')
-rw-r--r-- | networking/udhcp/dhcprelay.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c index def1bc297..08fb733d7 100644 --- a/networking/udhcp/dhcprelay.c +++ b/networking/udhcp/dhcprelay.c | |||
@@ -257,7 +257,7 @@ static void dhcprelay_loop(int *fds, int num_sockets, int max_socket, char **cli | |||
257 | if (select(max_socket + 1, &rfds, NULL, NULL, &tv) > 0) { | 257 | if (select(max_socket + 1, &rfds, NULL, NULL, &tv) > 0) { |
258 | /* server */ | 258 | /* server */ |
259 | if (FD_ISSET(fds[0], &rfds)) { | 259 | if (FD_ISSET(fds[0], &rfds)) { |
260 | packlen = udhcp_recv_packet(&dhcp_msg, fds[0]); | 260 | packlen = udhcp_recv_kernel_packet(&dhcp_msg, fds[0]); |
261 | if (packlen > 0) { | 261 | if (packlen > 0) { |
262 | pass_back(&dhcp_msg, packlen, fds); | 262 | pass_back(&dhcp_msg, packlen, fds); |
263 | } | 263 | } |