freebsd-dev/sbin/dhclient
Brooks Davis d5354256b6 Add a new function is_default_interface() which determines if this
interface is one with the default route (or there isn't one).  Use it to
decide if we should adjust the default route and /etc/resolv.conf.

Fix the delete of the default route.  The if statement was totally bogus
and the delete only worked due to a typo. [1]

Reported by:	Jordan Coleman <jordan at JordanColeman dot com> [1]
MFC after:	1 week
2008-03-30 02:42:39 +00:00
..
alloc.c
bpf.c It is possible for bpf to return a length such that: 2006-09-26 01:02:02 +00:00
clparse.c Implement RFC3442, the Classless Static Route option. 2007-02-09 17:50:26 +00:00
conflex.c
convert.c
dhclient-script Add a new function is_default_interface() which determines if this 2008-03-30 02:42:39 +00:00
dhclient-script.8
dhclient.8 - Remove references to unexisting man pages 2007-09-20 10:46:25 +00:00
dhclient.c Defer state change on disassociate to avoid unnecessarily dropping the 2008-03-22 16:24:02 +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
dhcp.h Implement RFC3442, the Classless Static Route option. 2007-02-09 17:50:26 +00:00
dhcpd.h
dhctoken.h
dispatch.c Teach dhclient(8) about net80211 link (association) status. 2007-12-05 17:13:45 +00:00
errwarn.c
hash.c
inet.c
Makefile
options.c
packet.c
parse.c
privsep.c
privsep.h
tables.c Implement RFC3442, the Classless Static Route option. 2007-02-09 17:50:26 +00:00
tree.c
tree.h