summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2013-05-05 16:45:01 +0000
committerkrw <krw@openbsd.org>2013-05-05 16:45:01 +0000
commit0f866159c16165503d44c1f81c7c06d0591db2e2 (patch)
treec22819f3da1eb4302ad292604e146aeba2610010 /sys
parenttypo in log message. ok sthen@ (diff)
downloadwireguard-openbsd-0f866159c16165503d44c1f81c7c06d0591db2e2.tar.xz
wireguard-openbsd-0f866159c16165503d44c1f81c7c06d0591db2e2.zip
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