projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c321b51
)
udhcpc: fixlet for previous commit
author
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 26 Sep 2008 22:21:03 +0000
(22:21 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Fri, 26 Sep 2008 22:21:03 +0000
(22:21 -0000)
networking/udhcp/dhcpc.c
patch
|
blob
|
history
diff --git
a/networking/udhcp/dhcpc.c
b/networking/udhcp/dhcpc.c
index c1ef19519ec220baea83b1e7ad555fc270007e75..8985cc70523fdf68848e05642d5364ac8a3dc246 100644
(file)
--- a/
networking/udhcp/dhcpc.c
+++ b/
networking/udhcp/dhcpc.c
@@
-399,12
+399,14
@@
int udhcpc_main(int argc UNUSED_PARAM, char **argv)
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 the
n
similarly
+ * were seen in the wild. Treat the
m
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;