freebsd-dev/contrib/isc-dhcp/client
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
..
scripts Fix dhclient infinite loop on ro /etc/resolv.conf 2003-07-28 22:25:20 +00:00
clparse.c Centralize _PATH_* definitions. 2003-05-05 22:49:23 +00:00
dhclient-script.8 Make isc_dhcp_3_0_1_rc11's "SEE ALSO" suitable for FreeBSD. 2003-01-16 07:23:57 +00:00
dhclient.8 Enable dhclient to poll the interface state and send only 2003-07-28 08:30:11 +00:00
dhclient.c - Fix the polling code to work with media settings in dhclient.conf. 2003-08-07 07:27:14 +00:00
dhclient.conf use /sbin/dhclient-script rather than /etc/dhclient-script 1999-02-10 09:35:26 +00:00
dhclient.conf.5 Make isc_dhcp_3_0_1_rc11's "SEE ALSO" suitable for FreeBSD. 2003-01-16 07:31:49 +00:00
dhclient.leases.5 Make the "SEE ALSO" suitable for FreeBSD. 2003-01-16 07:36:45 +00:00
Makefile.dist Import isc-dhcpd-3.0.1rc11. 2003-01-16 07:04:57 +00:00