git: dhclient - When a link is lost, call dhclient-script with reason "FAIL".

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Sat Aug 9 09:40:33 PDT 2014


commit a80b00a38e93c31b2070740562fbe5a19544c513
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Sat Aug 2 14:04:09 2014 +0200

    dhclient - When a link is lost, call dhclient-script with reason "FAIL".
    
    - This does the resolv.conf dance and removes 'dead' routes, rather than
      leaving these droppings behind.
    
    - When dhclient is exiting after calling dhclient-script with "FAIL",
      give the script a couple of seconds to finish. Also pass the lease
      parameters (old_*) to dhclient-script so routes can be cleaned up
      in this path too.
    
    Taken-from: OpenBSD

Summary of changes:
 sbin/dhclient/dhclient.c | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a80b00a38e93c31b2070740562fbe5a19544c513


-- 
DragonFly BSD source repository


More information about the Commits mailing list