brooks 59722cbdc9 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
..
2007-11-20 21:25:58 +00:00
2008-02-06 08:03:27 +00:00
2008-02-07 18:10:24 +00:00
2007-11-18 09:18:20 +00:00
2007-07-03 12:46:08 +00:00
2007-11-07 10:53:41 +00:00
2008-02-19 07:09:19 +00:00
2007-09-23 16:06:37 +00:00