freebsd-dev/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 Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
bpf.c Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST 2009-10-21 23:50:35 +00:00
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 In read_string(), when the last character was a backslash, unincrement 2005-08-26 01:25:59 +00:00
convert.c Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
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 Implement RFC3442, the Classless Static Route option. 2007-02-09 17:50:26 +00:00
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 Fix the logic to count the number of "live interfaces". With this change 2009-07-21 15:06:10 +00:00
errwarn.c Make dhclient use a pid file. Modify the rc script accordingly; while 2011-10-13 17:20:45 +00:00
hash.c Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
inet.c Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
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 Make dhclient use bootpc (68) as the source port for unicast DHCPREQUEST 2009-10-21 23:50:35 +00:00
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 Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
privsep.h
tables.c Support domain-search in dhclient(8) 2011-12-04 14:44:31 +00:00
tree.c Add __FBSDID to all .c files in dhclient to aid in determining file 2005-08-23 23:59:55 +00:00
tree.h