summaryrefslogtreecommitdiffstats
path: root/src/ipv6.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-09-04 02:36:33 +0100
committerRoy Marples <roy@marples.name>2019-09-04 02:36:33 +0100
commitd97ca577c30dae521739a29cc5d0f6b85717e09a (patch)
treed5b098f0ddf9454130742eb0ea2460a237d47082 /src/ipv6.c
parent0b16497865120127396b6506542a5a169c4d2d4e (diff)
downloaddhcpcd-d97ca577c30dae521739a29cc5d0f6b85717e09a.tar.xz
Solaris: Fix issue with prior on other OS
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 2275c90b..0a68c89f 100644
--- a/src/ipv6.c
+++ b/src/ipv6.c
@@ -775,7 +775,9 @@ ipv6_addaddr1(struct ipv6_addr *ia, const struct timespec *now)
#endif
#ifdef ND6_ADVERTISE
+#ifdef __sun
advertise:
+#endif
/* Re-advertise the preferred address to be safe. */
if (!vltime_was_zero)
ipv6nd_advertise(ia);