changeset 4287:2b519911f230 draft dhcpcd-7.0.5b

dhcp: Fix more fallout for builds without IPv4LL
author Roy Marples <roy@marples.name>
date Mon, 04 Jun 2018 17:30:16 +0100
parents 36e7356b92e8
children 0bd4f5b53051
files src/dhcp.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dhcp.c	Mon Jun 04 10:25:59 2018 +0100
+++ b/src/dhcp.c	Mon Jun 04 17:30:16 2018 +0100
@@ -2101,8 +2101,10 @@
 	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);