Date: Fri, 11 Apr 2008 00:18:00 +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: <200804110018.m3B0I0Q7056842@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
brooks 2008-04-11 00:17:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sbin/dhclient dhclient-script Log: 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] Revision Changes Path 1.17.2.2 +48 -20 src/sbin/dhclient/dhclient-script
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804110018.m3B0I0Q7056842>