aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--networking/udhcp/dhcpc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index fbb645749..ccc0393f2 100644
--- 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();