summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2018-06-04 17:30:16 +0100
committerRoy Marples <roy@marples.name>2018-06-04 17:30:16 +0100
commitd51d87c63a21441757aad1bf4639311200e86542 (patch)
treec235068fb5597216098d37412e4106a69affae19
parentad11b9a89f13e9074002aa96a0d6ee6e0a62fe3f (diff)
downloaddhcpcd-7.0.5b.tar.xz
dhcp: Fix more fallout for builds without IPv4LLdhcpcd-7.0.5b
-rw-r--r--src/dhcp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcp.c b/src/dhcp.c
index 6a3a02de..83c997b3 100644
--- a/src/dhcp.c
+++ b/src/dhcp.c
@@ -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);