]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Solaris: Fix issue with prior on other OS
authorRoy Marples <roy@marples.name>
Wed, 4 Sep 2019 01:36:33 +0000 (02:36 +0100)
committerRoy Marples <roy@marples.name>
Wed, 4 Sep 2019 01:36:33 +0000 (02:36 +0100)
src/ipv6.c

index 2275c90b116ab4cd7c342483317f3d0fba4756c8..0a68c89fa767ec509e2916763657573da93ffae4 100644 (file)
@@ -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);