summaryrefslogtreecommitdiffstats
path: root/src/ipv6.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2020-04-09 15:38:18 +0000
committerRoy Marples <roy@marples.name>2020-04-09 15:38:18 +0000
commitd839b2ed96bbcd37362a7c7385c4dfe6d161909b (patch)
tree134c4db55526c76eb6e788cd5114d56ff44b2b91 /src/ipv6.c
parentddcc11922e3b54f627fadd29cd6fb2f25b0a1dcb (diff)
downloaddhcpcd-d839b2ed96bbcd37362a7c7385c4dfe6d161909b.tar.xz
Linux: doesn't need to create temp addrs
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 fb52667b..ede87c3d 100644
--- a/src/ipv6.c
+++ b/src/ipv6.c
@@ -336,6 +336,7 @@ ipv6_makestableprivate(struct in6_addr *addr,
return r;
}
+#ifdef IPV6_AF_TEMPORARY
static int
ipv6_maketemporaryaddress(struct in6_addr *addr,
const struct in6_addr *prefix, int prefix_len,
@@ -362,6 +363,7 @@ again:
goto again;
return 0;
}
+#endif
int
ipv6_makeaddr(struct in6_addr *addr, struct interface *ifp,