summaryrefslogtreecommitdiffstats
path: root/src/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-01-22 21:21:25 +0000
committerRoy Marples <roy@marples.name>2019-01-22 21:21:25 +0000
commit16fb7519c3e78d02d4b4279ab39f2f6a2208b7fa (patch)
treefdbebba94a0ee32bded967ee5b027eced0be1229 /src/dhcpcd.c
parent1cec7d4a17cf245afbf0165f7258b64b2675f576 (diff)
downloaddhcpcd-16fb7519c3e78d02d4b4279ab39f2f6a2208b7fa.tar.xz
IPv4LL: Fix build if not enabled.
Diffstat (limited to 'src/dhcpcd.c')
-rw-r--r--src/dhcpcd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c
index 8f2c38a8..6d99e379 100644
--- a/src/dhcpcd.c
+++ b/src/dhcpcd.c
@@ -765,7 +765,9 @@ dhcpcd_handlecarrier(struct dhcpcd_ctx *ctx, int carrier, unsigned int flags,
#ifdef NOCARRIER_PRESERVE_IP
dhcpcd_drop(ifp, 0);
#endif
+#ifdef IPV4LL
ipv4ll_reset(ifp);
+#endif
}
}
dhcpcd_initstate(ifp, 0);