Release DHCP4 lease only if DHCLIENT_RELEASE_BEFORE_QUIT is set

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Use ni_log_facility instead of referencing ni_debug

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Add ni_debug_timer to trace internal timer

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Use ni_debug_timer instead of ni_debug_socket

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Add ni_debug_timer calls

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Convert DHCP4 fsm state to enum to catch all states

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Replace if lists with switch to catch all DHCP4 states

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Handle defer-timeout (DHCLIENT_WAIT_AT_BOOT)

Signed-off-by: Olaf Hering <olaf@aepfle.de>