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
commit2b9209e5335ed10ab95f11f788718d11666cc3f3 (patch)
tree134c4db55526c76eb6e788cd5114d56ff44b2b91 /src/ipv6.c
parent6317fbdf07305c7ed27f9d4fc1ed6a60ee7f5560 (diff)
downloaddhcpcd-2b9209e5335ed10ab95f11f788718d11666cc3f3.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,