]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Treat INFORMED as a released state so it's dropped by the hooks
authorRoy Marples <roy@marples.name>
Thu, 6 Jul 2017 16:25:40 +0000 (17:25 +0100)
committerRoy Marples <roy@marples.name>
Thu, 6 Jul 2017 16:25:40 +0000 (17:25 +0100)
src/dhcp6.c

index c7283a370928ecf901a082d52653a9fe9c71ddbf..bd17325cd9f9e1c930bc901e479a372145cbe211 100644 (file)
@@ -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;