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
This commit is contained in:
@@ -454,7 +454,7 @@ int udhcpc_main(int argc, char **argv)
|
||||
len = udhcp_recv_packet(&packet, sockfd);
|
||||
else len = get_raw_packet(&packet, sockfd);
|
||||
|
||||
if (len == -1 && errno != EINTR) {
|
||||
if (len == -1) { /* error is severe, reopen socket */
|
||||
DEBUG("error on read, %s, reopening socket", strerror(errno));
|
||||
change_listen_mode(listen_mode); /* just close and reopen */
|
||||
}
|
||||
|
Reference in New Issue
Block a user