Stop checking 'epoch' in get_recorded_lease() and just set it as
authorkrw <krw@openbsd.org>
Sat, 27 Feb 2021 17:44:58 +0000 (17:44 +0000)
committerkrw <krw@openbsd.org>
Sat, 27 Feb 2021 17:44:58 +0000 (17:44 +0000)
commit2b7f747f5258d998150703fadaf49c913201fa3a
treec0b4909c3b636bbda07c193b562ddb068a2bb936
parent93460ce053bc626c29cd04f896e5943ef3618098
Stop checking 'epoch' in get_recorded_lease() and just set it as
required in read_lease_db(). It's already set in packet_to_lease() and
thus both paths to TAILQ_INSERT(lease_db) ensure there is a non-zero
epoch in all lease_db entries.
sbin/dhclient/clparse.c
sbin/dhclient/dhclient.c