CVSROOT:        /cvs
Module name:    src
Changes by:     k...@cvs.openbsd.org    2013/05/05 10:45:01

Modified files:
        sbin/dhclient  : dhclient.c dhcpd.h 

Log message:
Add a flag to struct client_state (IS_RESPONSIBLE) to record when
the first expected RTM_NEWADDR arrives, which signals that a lease
has been bound to the interface. Ignore RTM_NEWADDR and RTM_DELADDR
messages until the flag has been set.

Makes it more likely that the last dhclient started will be the
last dhclient standing. Fixes the problem reported by David Higgs,
where restarting an install in a vm consistantly caused the new
dhclient to be the one that dies.

Reply via email to