CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2013/02/23 18:10:28

Modified files:
        sbin/dhclient  : dhclient.c 

Log message:
When no acceptable offers are received within the allowed timeframe call
state_panic() instead of state_init().

state_init() immediately issues a new DISCOVER message and neither
checks dhclient.leases.IF nor daemonizes.

state_panic() looks for a lease in dhclient.leases.IF, and if none
are available, waits for 'retry' seconds before retarting the
DISCOVER process. Most importantly it calls go_daemon() to take the
process into the background, giving back the command prompt.

Reported by otto@ and deraadt@. ok deraadt@.

Reply via email to