]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Enable dhclient to poll the interface state and send only
authorMartin Blapp <mbr@FreeBSD.org>
Mon, 28 Jul 2003 08:30:11 +0000 (08:30 +0000)
committerMartin Blapp <mbr@FreeBSD.org>
Mon, 28 Jul 2003 08:30:11 +0000 (08:30 +0000)
commit636a538d1577e5536e7e0b5b327abb0477b7a3fa
tree1c6e259ba89a48fad62b7203a5d3cac6e6ac42fe
parent2b23ce1c0702b6edf02917cac0e0f05b5fab0855
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
contrib/isc-dhcp/FREEBSD-upgrade
contrib/isc-dhcp/client/dhclient.8
contrib/isc-dhcp/client/dhclient.c
contrib/isc-dhcp/common/dispatch.c
contrib/isc-dhcp/includes/dhcpd.h
sbin/dhclient/Makefile.inc