]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Solaris: diable IFF_NOLOCAL for inet for now
authorRoy Marples <roy@marples.name>
Wed, 4 Sep 2019 11:53:04 +0000 (14:53 +0300)
committerRoy Marples <roy@marples.name>
Wed, 4 Sep 2019 11:53:04 +0000 (14:53 +0300)
src/if-sun.c

index 3cdd12d0e4e1ac7a70892f0ba3a39e36de28c88f..2ceb56171d983b79dad75bcd01e661ff5f1b706b 100644 (file)
@@ -1625,8 +1625,13 @@ if_address(unsigned char cmd, const struct ipv4_addr *ia)
        /* We need to update the index now */
        ia->iface->index = if_nametoindex(ia->alias);
 
+       /* Disabled for now - for some reason dhcpcd cannot setup
+        * the subnet route correctly even though it looks
+        * identical in netstat output. */
+#if 0
        if (if_setflags(fd, ia->alias, IFF_NOLOCAL) == -1)
                return -1;
+#endif
 
        sa_in_init(&addr.sa, &ia->addr);
        sa_in_init(&mask.sa, &ia->mask);