From: Roy Marples Date: Sun, 30 Aug 2020 08:41:47 +0000 (+0100) Subject: DHCP: reason is BOUND when recovering from an expired extended lease X-Git-Tag: v9.2.0~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71b9288842b8288ba50afda9876f059083beb204;p=thirdparty%2Fdhcpcd.git DHCP: reason is BOUND when recovering from an expired extended lease --- diff --git a/src/dhcp.c b/src/dhcp.c index 0f863d6d..63045aea 100644 --- a/src/dhcp.c +++ b/src/dhcp.c @@ -2284,7 +2284,9 @@ dhcp_bind(struct interface *ifp) 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)