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:
4803db5
)
udhcpc: if got IP successfully, disable -n for future renewals
author
Justin Maggard
<jmaggard10@gmail.com>
Wed, 12 Aug 2009 23:26:17 +0000
(
01:26
+0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 12 Aug 2009 23:26:17 +0000
(
01:26
+0200)
Signed-off-by: Justin Maggard <jmaggard10@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/udhcp/dhcpc.c
patch
|
blob
|
history
diff --git
a/networking/udhcp/dhcpc.c
b/networking/udhcp/dhcpc.c
index fbb645749809e3b921dfae713b6eb378c25b45e4..ccc0393f211ef93809a9dc2aaa50abb515699f51 100644
(file)
--- a/
networking/udhcp/dhcpc.c
+++ b/
networking/udhcp/dhcpc.c
@@
-637,6
+637,8
@@
int udhcpc_main(int argc UNUSED_PARAM, char **argv)
perform_release(requested_ip, server_addr);
goto ret0;
}
+ /* future renew failures should not exit (JM) */
+ opt &= ~OPT_n;
#if BB_MMU /* NOMMU case backgrounded earlier */
if (!(opt & OPT_f)) {
client_background();