cvs commit: src/sbin/dhclient dhclient-script

Brooks Davis brooks at FreeBSD.org
Sat Mar 29 19:42:40 PDT 2008


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


More information about the cvs-src mailing list