Don't add a lease to the leases TAILQ more than once. It tends to
authorkrw <krw@openbsd.org>
Sun, 18 May 2014 15:17:50 +0000 (15:17 +0000)
committerkrw <krw@openbsd.org>
Sun, 18 May 2014 15:17:50 +0000 (15:17 +0000)
commitc43a89b200ce6234a10ac94fd25592950043483f
tree651eb27430e01483522e4a8246e8a0d50a9d9b32
parent3aa2a26e8872aef452202a30a28141fcac01161a
Don't add a lease to the leases TAILQ more than once. It tends to
make writing out the leases file go into an infinite loop until
/var is full.

Reported by Roman Gorelov via bugs@

Fix tested & ok stsp@ uwe@
sbin/dhclient/dhclient.c