freebsd-nq/sbin/dhclient
John Baldwin 0a26f85822 Revert r239356 and use an alternate algorithm.
First, don't exit when the link goes down on an interface.  Instead,
teach dhclient to track changes in link state and to enter the reboot
state when the link on an interface goes up causing dhclient to attempt
to renew its existing lease.

Second, remove the change I added to clear the old lease when dhclient
exits due to an error (such as ifconfig down).  If an interface is
using autoconfiguration it should keep its autoconfiguration as much as
possible.  If the next time it needs a configuration it is able to reuse
the previous autoconfiguration, then leaving the settings intact allows
existing connections to survive temporary outages, etc.

PR:		bin/166656
MFC after:	1 month
2012-08-22 13:53:37 +00:00
..
alloc.c
bpf.c
clparse.c In sbin/dhclient, since we know the size of the source strings anyway, 2011-12-17 01:29:46 +00:00
conflex.c
convert.c
dhclient-script Set svn:executable on dhclient-script 2011-12-30 14:46:53 +00:00
dhclient-script.8 Spelling fixes for sbin/ 2012-01-07 16:09:33 +00:00
dhclient.8 Make dhclient use a pid file. Modify the rc script accordingly; while 2011-10-13 17:20:45 +00:00
dhclient.c Revert r239356 and use an alternate algorithm. 2012-08-22 13:53:37 +00:00
dhclient.conf
dhclient.conf.5
dhclient.leases.5
dhcp-options.5 Support domain-search in dhclient(8) 2011-12-04 14:44:31 +00:00
dhcp.h Support domain-search in dhclient(8) 2011-12-04 14:44:31 +00:00
dhcpd.h Revert r239356 and use an alternate algorithm. 2012-08-22 13:53:37 +00:00
dhctoken.h
dispatch.c
errwarn.c Make dhclient use a pid file. Modify the rc script accordingly; while 2011-10-13 17:20:45 +00:00
hash.c
inet.c
Makefile Make dhclient use a pid file. Modify the rc script accordingly; while 2011-10-13 17:20:45 +00:00
options.c Spelling fixes for sbin/ 2012-01-07 16:09:33 +00:00
packet.c
parse.c In sbin/dhclient, since we know the size of the source strings anyway, 2011-12-17 01:29:46 +00:00
privsep.c
privsep.h
tables.c Support domain-search in dhclient(8) 2011-12-04 14:44:31 +00:00
tree.c
tree.h