From owner-cvs-all@FreeBSD.ORG Mon Aug 16 16:09:51 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0683616A4CE; Mon, 16 Aug 2004 16:09:51 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAB2C43D2F; Mon, 16 Aug 2004 16:09:50 +0000 (GMT) (envelope-from mbr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7GG9oAE005750; Mon, 16 Aug 2004 16:09:50 GMT (envelope-from mbr@repoman.freebsd.org) Received: (from mbr@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7GG9oKa005749; Mon, 16 Aug 2004 16:09:50 GMT (envelope-from mbr) Message-Id: <200408161609.i7GG9oKa005749@repoman.freebsd.org> From: Martin Blapp Date: Mon, 16 Aug 2004 16:09:50 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/contrib/isc-dhcp/client dhclient.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 16:09:51 -0000 mbr 2004-08-16 16:09:50 UTC FreeBSD src repository Modified files: contrib/isc-dhcp/client dhclient.c Log: It could happen that the renew/rebind times in the leasefile were expired but the expire time itself was still valid and in the future. If this happened we ended up using the state S_RENEW with an INADDR_BROADCAST address set in the request and dhclient never got any answer back. The only workaround was to delete the lease file. Fix this case with a check for the S_RENEW and a fallback to the S_INIT state. PR: bin/69361 Submitted by: Andrew Gallatin Revision Changes Path 1.41 +13 -2 src/contrib/isc-dhcp/client/dhclient.c