aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpc.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--networking/udhcp/dhcpc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index e9b728ab5..f54bc08f1 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -452,7 +452,8 @@ int udhcpc_main(int argc, char **argv)
452 452
453 if (listen_mode == LISTEN_KERNEL) 453 if (listen_mode == LISTEN_KERNEL)
454 len = udhcp_recv_packet(&packet, sockfd); 454 len = udhcp_recv_packet(&packet, sockfd);
455 else len = get_raw_packet(&packet, sockfd); 455 else
456 len = get_raw_packet(&packet, sockfd);
456 457
457 if (len == -1) { /* error is severe, reopen socket */ 458 if (len == -1) { /* error is severe, reopen socket */
458 DEBUG("error on read, %s, reopening socket", strerror(errno)); 459 DEBUG("error on read, %s, reopening socket", strerror(errno));