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
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.
Summary of changes:
sbin/dhclient/dhclient.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
DragonFly BSD source repository
More information about the Commits