summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpc.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-12-24 17:32:22 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-12-24 17:32:22 +0000
commit8e5b6f58a27d840cabf491634e956407d147ddb6 (patch)
tree86c65a2ce32290b19212c6d95600ae3a7eb046c0 /networking/udhcp/dhcpc.c
parent299c5c379e006ce2c3a39c42a323f297e4a4fb18 (diff)
downloadbusybox-w32-8e5b6f58a27d840cabf491634e956407d147ddb6.tar.gz
busybox-w32-8e5b6f58a27d840cabf491634e956407d147ddb6.tar.bz2
busybox-w32-8e5b6f58a27d840cabf491634e956407d147ddb6.zip
Makefile: change version to 1.10.0.svn
udhcpc: make UDP packet sending the same as raw sending in regards to error messages. Minor code size shrink. Total size grows due to added messages: text data bss dec hex filename 770312 683 7244 778239 bdfff busybox_old 770327 683 7244 778254 be00e busybox_unstripped
Diffstat (limited to 'networking/udhcp/dhcpc.c')
-rw-r--r--networking/udhcp/dhcpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index 3de389f7b..d76a62c5a 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -454,7 +454,7 @@ int udhcpc_main(int argc, char **argv)
454 len = udhcp_recv_packet(&packet, sockfd); 454 len = udhcp_recv_packet(&packet, sockfd);
455 else len = get_raw_packet(&packet, sockfd); 455 else len = get_raw_packet(&packet, sockfd);
456 456
457 if (len == -1 && errno != EINTR) { 457 if (len == -1) { /* error is severe, reopen socket */
458 DEBUG("error on read, %s, reopening socket", strerror(errno)); 458 DEBUG("error on read, %s, reopening socket", strerror(errno));
459 change_listen_mode(listen_mode); /* just close and reopen */ 459 change_listen_mode(listen_mode); /* just close and reopen */
460 } 460 }