summaryrefslogtreecommitdiffstats
path: root/ipv6.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2016-07-27 03:57:52 +0000
committerRoy Marples <roy@marples.name>2016-07-27 03:57:52 +0000
commit808263280791fe21464517f04c73722ee9d2bb06 (patch)
tree48ebfdff0c7815251b9ae048c36a89f5dd6c2b7e /ipv6.c
parentc194ed136796dae0cf9e4ab12e84d4d223f57e46 (diff)
downloaddhcpcd-808263280791fe21464517f04c73722ee9d2bb06.tar.xz
Solaris can disable LL generation, so we can add our own view.
Diffstat (limited to 'ipv6.c')
-rw-r--r--ipv6.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipv6.c b/ipv6.c
index 860605fb..30be5b2d 100644
--- a/ipv6.c
+++ b/ipv6.c
@@ -99,7 +99,8 @@
# endif
#endif
-#if defined(HAVE_IN6_ADDR_GEN_MODE_NONE) || defined(ND6_IFF_AUTO_LINKLOCAL)
+#if defined(HAVE_IN6_ADDR_GEN_MODE_NONE) || defined(ND6_IFF_AUTO_LINKLOCAL) || \
+ defined(IFF_NOLINKLOCAL)
/* If we're using a private SLAAC address on wireless,
* don't add it until we have associated as we randomise
* it based on the SSID. */