Preserve intended chronological order of leases in
authorkrw <krw@openbsd.org>
Wed, 30 Apr 2014 15:11:00 +0000 (15:11 +0000)
committerkrw <krw@openbsd.org>
Wed, 30 Apr 2014 15:11:00 +0000 (15:11 +0000)
commitd90a64fc87311a0394eaaf458c0dafa35e96c63a
tree7f39f5d7c06fa39598d8a6b27554c5a04d551d62
parentff1cd9579cc00ac8e0e51c0e5b47601c962eb002
Preserve intended chronological order of leases in
dhclient.leases.<if> files by writing out in reverse the
reverse-chronological-order TAILQ client->leases.

Found while trying to restore static lease functionality.
sbin/dhclient/dhclient.c
sbin/dhclient/dhcpd.h