]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
dhcp: Fix more fallout for builds without IPv4LL v7.0.5b
authorRoy Marples <roy@marples.name>
Mon, 4 Jun 2018 16:30:16 +0000 (17:30 +0100)
committerRoy Marples <roy@marples.name>
Mon, 4 Jun 2018 16:30:16 +0000 (17:30 +0100)
src/dhcp.c

index 6a3a02de995e2f3fa036d7e86bb381d3a5a0ff05..83c997b312d2939138415a3096e6b19e4a10c399 100644 (file)
@@ -2101,8 +2101,10 @@ dhcp_arp_probed(struct arp_state *astate)
        if (ifp->ctx->options & DHCPCD_FORKED)
                return;
 
+#ifdef IPV4LL
        /* Stop IPv4LL now we have a working DHCP address */
        ipv4ll_drop(ifp);
+#endif
 
        if (ifo->options & DHCPCD_INFORM)
                dhcp_inform(ifp);