aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/dhcpd.c')
-rw-r--r--networking/udhcp/dhcpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpd.c b/networking/udhcp/dhcpd.c
index 9679e086c..45f445b48 100644
--- a/networking/udhcp/dhcpd.c
+++ b/networking/udhcp/dhcpd.c
@@ -133,7 +133,7 @@ int udhcpd_main(int argc, char **argv)
133 default: continue; /* signal or error (probably EINTR) */ 133 default: continue; /* signal or error (probably EINTR) */
134 } 134 }
135 135
136 bytes = udhcp_get_packet(&packet, server_socket); /* this waits for a packet - idle */ 136 bytes = udhcp_recv_packet(&packet, server_socket); /* this waits for a packet - idle */
137 if (bytes < 0) { 137 if (bytes < 0) {
138 if (bytes == -1 && errno != EINTR) { 138 if (bytes == -1 && errno != EINTR) {
139 DEBUG("error on read, %s, reopening socket", strerror(errno)); 139 DEBUG("error on read, %s, reopening socket", strerror(errno));