On Sat, 10 Jul 2021 at 02:52, Andrew Zaborowski
We'd need to start tracking the offered
lease expiry times though. Right now we set a 5s timeout for offered
leases (lease->lifetime = OFFER_TIME) but
dhcp-server.c:set_next_expire_timer() disables all timeouts whenever
there's an offered lease so they're not tracked.
I misread that check, it actually disables the timeout if there are
*only* "offered" leases on the list. This still seems wrong. We
probably also need to skip the LEASE_EXPIRED event in
lease_expired_cb() for "offered" leases because we don't emit
NEW_LEASE for these.