# HG changeset patch # User Roy Marples # Date 1598776907 -3600 # Node ID 4729f8db7842ba14d0cdd477e8965d6a6d5f2fcf # Parent ab53e42710ae4b55d615235addbd02cfc11858a9 DHCP: reason is BOUND when recovering from an expired extended lease diff -r ab53e42710ae -r 4729f8db7842 src/dhcp.c --- a/src/dhcp.c Sun Aug 30 09:07:35 2020 +0100 +++ b/src/dhcp.c Sun Aug 30 09:41:47 2020 +0100 @@ -2284,7 +2284,9 @@ return; } if (state->reason == NULL) { - if (state->old && !(state->added & STATE_FAKE)) { + if (state->old && + !(state->added & (STATE_FAKE | STATE_EXPIRED))) + { if (state->old->yiaddr == state->new->yiaddr && lease->server.s_addr && state->state != DHS_REBIND)