From: Roy Marples Date: Mon, 10 Jun 2013 16:08:58 +0000 (+0000) Subject: Disable flushing ra stuff for the time being. X-Git-Tag: v6.0.0~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fa8fd5b14e8dd061a9cc2034e0427fbf87b000b;p=thirdparty%2Fdhcpcd.git Disable flushing ra stuff for the time being. --- diff --git a/platform-bsd.c b/platform-bsd.c index e369ef59..a3b6ae02 100644 --- a/platform-bsd.c +++ b/platform-bsd.c @@ -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; }