From: Roy Marples Date: Thu, 6 Jul 2017 16:25:40 +0000 (+0100) Subject: Treat INFORMED as a released state so it's dropped by the hooks X-Git-Tag: v7.0.0-rc2~32 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbf4cb6f0b844c2810fea8fdfb5f10ea6c6869b2;p=thirdparty%2Fdhcpcd.git Treat INFORMED as a released state so it's dropped by the hooks --- diff --git a/src/dhcp6.c b/src/dhcp6.c index c7283a37..bd17325c 100644 --- a/src/dhcp6.c +++ b/src/dhcp6.c @@ -3458,7 +3458,8 @@ dhcp6_freedrop(struct interface *ifp, int drop, const char *reason) state->state != DH6S_DELEGATED) { if (ifp->carrier == LINK_UP && - state->state != DH6S_RELEASED) + state->state != DH6S_RELEASED && + state->state != DH6S_INFORMED) { dhcp6_startrelease(ifp); return;