From owner-cvs-all@FreeBSD.ORG Mon Jul 28 01:30:12 2003 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 E26C637B401; Mon, 28 Jul 2003 01:30:12 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D01343F75; Mon, 28 Jul 2003 01:30:12 -0700 (PDT) (envelope-from mbr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h6S8UC0U080256; Mon, 28 Jul 2003 01:30:12 -0700 (PDT) (envelope-from mbr@repoman.freebsd.org) Received: (from mbr@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6S8UC6v080255; Mon, 28 Jul 2003 01:30:12 -0700 (PDT) Message-Id: <200307280830.h6S8UC6v080255@repoman.freebsd.org> From: Martin Blapp Date: Mon, 28 Jul 2003 01:30:12 -0700 (PDT) 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 FREEBSD-upgrade src/contrib/isc-dhcp/client dhclient.8 dhclient.c src/contrib/isc-dhcp/common dispatch.c src/contrib/isc-dhcp/includes dhcpd.h src/sbin/dhclient Makefile.inc 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, 28 Jul 2003 08:30:13 -0000 mbr 2003/07/28 01:30:11 PDT FreeBSD src repository Modified files: contrib/isc-dhcp FREEBSD-upgrade contrib/isc-dhcp/client dhclient.8 dhclient.c contrib/isc-dhcp/common dispatch.c contrib/isc-dhcp/includes dhcpd.h sbin/dhclient Makefile.inc Log: Enable dhclient to poll the interface state and send only requests if the interface has an active link. This is a great benefit if you often change networks with your laptop and you do not like to kill/restart dhclient all the time. Changes are automatically detected and the link is refreshed. The change allows us to start dhclient in background mode Enable dhclient to poll the interface state and send only requests if the interface has an active link. This is a great benefit if you often change networks with your laptop and you do not like to kill/restart dhclient all the time. Changes are automatically detected and the link is refreshed. The change allows us to start dhclient in background mode while the network cable is not plugged in. To control the polling interval, the option -i has been introduced. It takes seconds as parameter, the minimum is one second, the default is five seconds. Polling is done in seconds, not microseconds, because dhclient does internally work with timeouts in seconds. This change will be part of the next major ISC-dhcpd release. Tested by: bms, imp, and many many others. Reviewed by: murray, eivind, dhclient folks Revision Changes Path 1.16 +8 -2 src/contrib/isc-dhcp/FREEBSD-upgrade 1.14 +10 -0 src/contrib/isc-dhcp/client/dhclient.8 1.26 +193 -4 src/contrib/isc-dhcp/client/dhclient.c 1.2 +98 -600 src/contrib/isc-dhcp/common/dispatch.c 1.2 +2033 -343 src/contrib/isc-dhcp/includes/dhcpd.h 1.5 +1 -1 src/sbin/dhclient/Makefile.inc