From ae04fa039d622669a7d690ac0f773bdcd04db587 Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Mon, 2 Jun 1997 22:45:08 +0000 Subject: [PATCH] Try to renew active lease in REBOOT state even if it's expired. --- client/dhclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/dhclient.c b/client/dhclient.c index 8dff889e..592f4d3d 100644 --- a/client/dhclient.c +++ b/client/dhclient.c @@ -56,7 +56,7 @@ #ifndef lint static char copyright[] = -"$Id: dhclient.c,v 1.37 1997/06/02 22:36:25 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhclient.c,v 1.38 1997/06/02 22:45:08 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -275,7 +275,6 @@ void state_reboot (ipp) /* If we don't remember an active lease, go straight to INIT. */ if (!ip -> client -> active || - ip -> client -> active -> rebind < cur_time || ip -> client -> active -> is_bootp) { state_init (ip); return; @@ -1086,6 +1085,7 @@ void state_panic (ipp) ip -> client -> state = S_INIT; add_timeout (cur_time + ip -> client -> config -> retry_interval, state_init, ip); + go_daemon (); } void send_request (ipp)