cvs commit: src/sbin/dhclient dhclient-script

Brooks Davis brooks at
Fri Apr 11 00:18:37 UTC 2008

brooks      2008-04-11 00:18:37 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sbin/dhclient        dhclient-script 
  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   +48 -20    src/sbin/dhclient/dhclient-script

More information about the cvs-all mailing list