brooks 313bd47a97 MFC rev 1.19
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]
2008-04-11 00:18:37 +00:00
..
2007-12-02 09:01:18 +00:00
2005-02-13 22:25:33 +00:00
2008-02-11 07:48:12 +00:00
2007-09-18 01:26:28 +00:00
2005-01-18 10:09:38 +00:00
2007-05-12 23:10:08 +00:00
2006-12-29 23:23:59 +00:00
2008-04-11 00:18:37 +00:00
2007-04-12 07:53:13 +00:00
2007-05-19 11:32:34 +00:00
2007-01-05 21:38:46 +00:00
2008-03-08 00:54:27 +00:00
2004-07-28 05:59:22 +00:00
2008-02-07 12:18:26 +00:00
2005-11-26 11:10:37 +00:00
2005-04-14 20:27:30 +00:00
2006-12-03 19:01:42 +00:00
2005-02-13 22:25:33 +00:00
2008-04-04 18:10:50 +00:00
2005-11-16 08:08:48 +00:00
2007-02-15 17:19:38 +00:00
2007-02-15 17:19:38 +00:00
2007-02-15 17:19:38 +00:00
2007-12-02 08:58:46 +00:00
2007-07-07 11:22:46 +00:00
2007-01-28 01:06:18 +00:00
2007-01-28 18:01:28 +00:00
2006-04-26 18:41:00 +00:00
2005-06-24 10:57:53 +00:00
2006-07-13 03:37:06 +00:00
2007-10-23 03:37:10 +00:00
2008-03-04 12:52:34 +00:00
2008-03-24 10:46:00 +00:00
2005-02-13 22:25:33 +00:00
2005-02-13 22:25:33 +00:00
2004-10-24 14:25:53 +00:00
2006-08-10 10:48:21 +00:00
2007-05-22 22:01:44 +00:00
2007-02-01 04:36:40 +00:00
2007-09-16 10:53:04 +00:00
2006-10-16 12:01:04 +00:00
2008-03-29 13:44:36 +00:00
2006-03-10 23:10:39 +00:00
2005-02-13 23:45:54 +00:00
2005-07-17 15:03:36 +00:00
2007-12-02 09:00:36 +00:00
2004-12-21 09:59:45 +00:00