svn commit: trunk/busybox/networking/udhcp
vda at busybox.net
vda at busybox.net
Fri Sep 26 22:21:03 UTC 2008
Author: vda
Date: 2008-09-26 15:21:03 -0700 (Fri, 26 Sep 2008)
New Revision: 23526
Log:
udhcpc: fixlet for previous commit
Modified:
trunk/busybox/networking/udhcp/dhcpc.c
Changeset:
Modified: trunk/busybox/networking/udhcp/dhcpc.c
===================================================================
--- trunk/busybox/networking/udhcp/dhcpc.c 2008-09-26 16:29:12 UTC (rev 23525)
+++ trunk/busybox/networking/udhcp/dhcpc.c 2008-09-26 22:21:03 UTC (rev 23526)
@@ -399,12 +399,14 @@
if (state == RENEW_REQUESTED)
udhcp_run_script(NULL, "deconfig");
change_listen_mode(LISTEN_RAW);
- state = INIT_SELECTING;
/* "discover...select...discover..." loops
- * were seen in the wild. Treat then similarly
+ * were seen in the wild. Treat them similarly
* to "no response to discover" case */
- if (state == REQUESTING)
+ if (state == REQUESTING) {
+ state = INIT_SELECTING;
goto leasefail;
+ }
+ state = INIT_SELECTING;
timeout = 0;
packet_num = 0;
continue;
More information about the busybox-cvs
mailing list