From: Ted Lemon Date: Thu, 6 Mar 1997 20:00:51 +0000 (+0000) Subject: When we toss all our leases, just go back to init state - don't try to get fancy X-Git-Tag: DHCP-970328~36 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=779b840c000134674f4bd74c31a28a93cd24cf08;p=thirdparty%2Fdhcp.git When we toss all our leases, just go back to init state - don't try to get fancy --- diff --git a/client/dhclient.c b/client/dhclient.c index 23badd683..0d1e4be47 100644 --- a/client/dhclient.c +++ b/client/dhclient.c @@ -56,7 +56,7 @@ #ifndef lint static char copyright[] = -"$Id: dhclient.c,v 1.31 1997/03/06 06:48:09 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhclient.c,v 1.32 1997/03/06 20:00:51 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -356,7 +356,8 @@ void state_selecting (ipp) /* If we just tossed all the leases we were offered, go back to square one. */ if (!picked) { - send_discover (ip); + ip -> client -> state = S_INIT; + state_init (ip); return; }