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
commit2cac742dc5cf444af54639e710fbe1983aac7eef (patch)
treed5b098f0ddf9454130742eb0ea2460a237d47082 /src/ipv6.c
parentf95d685e476cfdcc29d33e754f77e7e44dfdf303 (diff)
downloaddhcpcd-2cac742dc5cf444af54639e710fbe1983aac7eef.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);