Date: Sun, 30 Mar 2008 02:42:39 +0000 (UTC) From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/dhclient dhclient-script Message-ID: <200803300242.m2U2gd0v017023@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
brooks 2008-03-30 02:42:39 UTC FreeBSD src repository Modified files: sbin/dhclient dhclient-script Log: 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 Revision Changes Path 1.19 +48 -20 src/sbin/dhclient/dhclient-script
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803300242.m2U2gd0v017023>