diff options
author | mbr <mbr@FreeBSD.org> | 2003-07-28 08:30:11 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2003-07-28 08:30:11 +0000 |
commit | 6416064bd673071db7aee16cb9b737f8ca527e5b (patch) | |
tree | 1c6e259ba89a48fad62b7203a5d3cac6e6ac42fe /sbin | |
parent | 40b6665d85a1da035de6a350ced06586632d9a59 (diff) | |
download | FreeBSD-src-6416064bd673071db7aee16cb9b737f8ca527e5b.zip FreeBSD-src-6416064bd673071db7aee16cb9b737f8ca527e5b.tar.gz |
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
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/dhclient/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient/Makefile.inc b/sbin/dhclient/Makefile.inc index 7b2738d..d78692d 100644 --- a/sbin/dhclient/Makefile.inc +++ b/sbin/dhclient/Makefile.inc @@ -3,7 +3,7 @@ MAINTAINER= murray WARNS= 0 -CFLAGS+= -I${DIST_DIR}/includes +CFLAGS+= -I${DIST_DIR}/includes -DENABLE_POLLING_MODE CLIENTBINDIR= /sbin RUNDIR= /var/run |