]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Disable flushing ra stuff for the time being.
authorRoy Marples <roy@marples.name>
Mon, 10 Jun 2013 16:08:58 +0000 (16:08 +0000)
committerRoy Marples <roy@marples.name>
Mon, 10 Jun 2013 16:08:58 +0000 (16:08 +0000)
platform-bsd.c

index e369ef5930d724a84c4e9207041436d4276040fd..a3b6ae022fd655edcb0533c248f844e941b27f03 100644 (file)
@@ -99,6 +99,7 @@ restore_kernel_ra(void)
                syslog(LOG_ERR, "IPV6CTL_ACCEPT_RTADV: %m");
 }
 
+#if 0
 static int
 ipv6_ra_flush(void)
 {
@@ -116,6 +117,7 @@ ipv6_ra_flush(void)
        close(s);
        return 0;
 }
+#endif
 
 int
 check_ipv6(const char *ifname)
@@ -160,7 +162,11 @@ check_ipv6(const char *ifname)
                return 0;
        }
 
+#if 0
+       /* I am not convinced this is right as it sometimes makes our own
+        * added routes disappear. */
        ipv6_ra_flush();
+#endif
 
        return 1;
 }