git: dhclient - Set state to S_REBOOTING when calling state_reboot().

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


commit 2cfe4a05b6a29de280735ec27469850c68bca8c3
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date:   Sat Aug 4 21:05:11 2012 +0200

    dhclient - Set state to S_REBOOTING when calling state_reboot().
    
    - Also set state inside state_reboot() to S_INIT when calling
      state_init(). Rather than the other way around.
      Makes for more consistant idiom and might reduce state confusion.
    
    Taken-from: OpenBSD

Summary of changes:
 sbin/dhclient/dhclient.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2cfe4a05b6a29de280735ec27469850c68bca8c3


-- 
DragonFly BSD source repository





More information about the Commits mailing list