summaryrefslogtreecommitdiffstats
path: root/src/ipv6.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2018-06-03 12:19:15 +0100
committerRoy Marples <roy@marples.name>2018-06-03 12:19:15 +0100
commitf7bca87145419a9988db7d4dfd84bd8777ca1f44 (patch)
tree2a48c77c04972fe739046b57c75f0d0f08fc4391 /src/ipv6.c
parent2ce3b7d3c2e99303e51d38364642458a734f9ded (diff)
downloaddhcpcd-f7bca87145419a9988db7d4dfd84bd8777ca1f44.tar.xz
Fix compile without INET6
Diffstat (limited to 'src/ipv6.c')
-rw-r--r--src/ipv6.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipv6.c b/src/ipv6.c
index 3085b888..b3b026b3 100644
--- a/src/ipv6.c
+++ b/src/ipv6.c
@@ -1183,7 +1183,9 @@ ipv6_handleifa(struct dhcpcd_ctx *ctx,
return;
ipv6nd_handleifa(cmd, ia, pid);
+#ifdef DHCP6
dhcp6_handleifa(cmd, ia, pid);
+#endif
out:
/* Done with the ia now, so free it. */