freebsd-dev/contrib/isc-dhcp/includes
Martin Blapp ceef306a27 - Fix the polling code to work with media settings in dhclient.conf.
- Rename linkstatus to linkstate which is more correct.

- Sort any leases each time we loose and regain link. With the first
  version we spammed the dhclient.leases file.

- When there was no link on a interface, polling has been done twice.
  This has been fixed with a bigger sleep interval.

- interface_active() now returns only a assumed state of the link.
  If we are using media settings, we cannot be sure that the link
  actually works. That means we assume that the link is working and
  continue to send requests as usual on the interface and loop over
  all possible media options. Polling is still done. If your interface
  gets suddenly link, dhclient will send a dhcp discover request.

After all media settings have been tried a few times, dhclient will
sleep. If one does change networks very often, it can help to set the
"retry timeout" to a low value like 100 seconds. The default is over
six minutes.

Tested by:	Larry Rosenman <ler@lerctr.org>, imp
2003-08-07 07:27:14 +00:00
..
arpa
cf Tweak a couple of utilities so they compile cleanly for /rescue. Mostly 2003-06-29 18:46:18 +00:00
isc-dhcp
minires Import ISC DHCP 3.0.1 RC8 client. 2002-04-01 07:54:44 +00:00
netinet
omapip
cdefs.h
ctrace.h
dhcp.h
dhcpd.h - Fix the polling code to work with media settings in dhclient.conf. 2003-08-07 07:27:14 +00:00
dhctoken.h Import ISC DHCP 3.0.1 RC8 client. 2002-04-01 07:54:44 +00:00
failover.h
hash.h
inet.h
osdep.h Import ISC DHCP 3.0.1 RC10 client. 2003-01-15 10:31:26 +00:00
site.h Import ISC DHCP 3.0.1 RC9 client. 2002-09-30 08:39:27 +00:00
statement.h
sysconf.h
tree.h
version.h Import isc-dhcpd-3.0.1rc11. 2003-01-16 07:04:57 +00:00