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>
Sun, 19 Aug 2012 14:30:54 +0000 (16:30 +0200)
commit2cfe4a05b6a29de280735ec27469850c68bca8c3
treef46f5badc8c1d666d8174ecaccea9da79d2bbd83
parent86cc4af65d79535ccfb597169e666b66a88a8abd
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