diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-05-05 16:45:02 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2013-05-05 16:45:02 +0000 |
commit | 32848e10be29b62f8780467f5cd8b63d3ccb490f (patch) | |
tree | f81a652802f11e2add6d7a08f2669d504a3880f4 /sys | |
parent | 46c6e872a3fd2696001a293702cc7c5c83371897 (diff) |
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.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions