]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Update dhcp.c (#95) dhcpcd-8
authorSeamus <seamusdemora@gmail.com>
Thu, 31 Mar 2022 22:45:17 +0000 (17:45 -0500)
committerGitHub <noreply@github.com>
Thu, 31 Mar 2022 22:45:17 +0000 (23:45 +0100)
src/dhcp.c

index 84006a94dc7e77afd2a05ca0e6bbb18dbd2e908e..af72b97ca0dcaebee3b11eb6df257e9f1597b945 100644 (file)
@@ -4058,7 +4058,7 @@ dhcp_handleifa(int cmd, struct ipv4_addr *ia, pid_t pid)
 
        ifo = ifp->options;
        if (ifo->options & DHCPCD_INFORM) {
-               if (state->state != DHS_INFORM)
+               if (state->state != DHS_INFORM && state->state != DHS_BOUND)
                        dhcp_inform(ifp);
                return ia;
        }