When removing duplicate dynamic leases from the cache, compare the
authorkrw <krw@openbsd.org>
Tue, 5 Dec 2017 14:57:14 +0000 (14:57 +0000)
committerkrw <krw@openbsd.org>
Tue, 5 Dec 2017 14:57:14 +0000 (14:57 +0000)
commit93e37ff1ece7771acd99769ee1b28bd3233401be
tree941eb57cd8e3257c757c389f4c23825f550fdc86
parent1b8cb7cf0c9f9787004c7fa0ac50ba0635ebeae2
When removing duplicate dynamic leases from the cache, compare the
SSID against ifi->ssid, not the SSID of the new lease. They
should be the same, but this makes the intent clearer and removes
an assumption about the contents of ifi->active.
sbin/dhclient/dhclient.c