dhclient - Set state to S_REBOOTING when calling state_reboot().
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Sat, 4 Aug 2012 19:05:11 +0000 (21:05 +0200)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Wed, 15 Aug 2012 01:22:19 +0000 (03:22 +0200)
commit5a657730851d2d4e8439a1dc318646db03dcbb2a
treee8286ce58e0559a3ee11ad5c9a4b2aaa87732dd0
parentc436aac6cf5fdef8fe96b687cda192e562536148
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
sbin/dhclient/dhclient.c