git: dhclient - Tweak leases file handling.

Antonio Huete Jimenez tuxillo at crater.dragonflybsd.org
Sun Aug 19 07:32:47 PDT 2012


commit cc08537da087ebff8723590fc54e2336868d3740
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Sat Aug 4 20:36:23 2012 +0200

    dhclient - Tweak leases file handling.
    
    - Write out new leases file every time a lease is obtained. i.e. don't
      append 20 leases before cleaning it up.
    - Write new leases file after calling dhclient-script to implement
      new info. Gets interface configured first, and makes it more likely
      the leases file reflects most current configuration.
    
    Taken-from: OpenBSD

Summary of changes:
 sbin/dhclient/dhclient.c |   29 +++++++++++++----------------
 sbin/dhclient/dhcpd.h    |    4 ++--
 2 files changed, 15 insertions(+), 18 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list