]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Solaris can disable LL generation, so we can add our own view.
authorRoy Marples <roy@marples.name>
Wed, 27 Jul 2016 03:57:52 +0000 (03:57 +0000)
committerRoy Marples <roy@marples.name>
Wed, 27 Jul 2016 03:57:52 +0000 (03:57 +0000)
ipv6.c

diff --git a/ipv6.c b/ipv6.c
index 860605fb46176e508d0f1c4aa26be286c622d236..30be5b2dff876fc8ec02ca4c2f64913a854bd0c9 100644 (file)
--- 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. */