summaryrefslogtreecommitdiffstats
path: root/src/ipv6nd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-09-04 04:34:23 +0300
committerRoy Marples <roy@marples.name>2019-09-04 04:34:23 +0300
commit0b16497865120127396b6506542a5a169c4d2d4e (patch)
treef04c62761d9183418dbecac6e50a87ed8d7e76ee /src/ipv6nd.c
parent114f0990f24aa0054ac3d1fb24a2d9fe1307fa16 (diff)
downloaddhcpcd-0b16497865120127396b6506542a5a169c4d2d4e.tar.xz
Solaris: Sending NA now seems to work!
Diffstat (limited to 'src/ipv6nd.c')
-rw-r--r--src/ipv6nd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ipv6nd.c b/src/ipv6nd.c
index 35401b75..affc9117 100644
--- a/src/ipv6nd.c
+++ b/src/ipv6nd.c
@@ -459,6 +459,11 @@ ipv6nd_advertise(struct ipv6_addr *ia)
if (IN6_IS_ADDR_MULTICAST(&ia->addr))
return;
+#ifdef __sun
+ if (!(ia->flags & IPV6_AF_AUTOCONF) && ia->flags & IPV6_AF_RAPFX)
+ return;
+#endif
+
ctx = ia->iface->ctx;
/* Find the most preferred address to advertise. */
iaf = NULL;