summaryrefslogtreecommitdiffstats
path: root/src/if-bsd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2018-02-25 16:31:23 +0000
committerRoy Marples <roy@marples.name>2018-02-25 16:31:23 +0000
commitf21a8d144e6bb91e6d24e5354be6e4f9c0e3f0d9 (patch)
treeff59cdebcd4c759be3c1956d668ef5e6bb15644c /src/if-bsd.c
parent5c39dfb0fcc7df418ce4a55c07ebd2b4052b9d4c (diff)
downloaddhcpcd-f21a8d144e6bb91e6d24e5354be6e4f9c0e3f0d9.tar.xz
inet6: remove references to the crazies.
And add a comment that if we do this again to add a new knob for it.
Diffstat (limited to 'src/if-bsd.c')
-rw-r--r--src/if-bsd.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/if-bsd.c b/src/if-bsd.c
index 50045c8d..824d4fd8 100644
--- a/src/if-bsd.c
+++ b/src/if-bsd.c
@@ -1360,11 +1360,8 @@ set_ifxflags(int s, const struct interface *ifp)
flags &= ~IFXF_NOINET6;
#endif
/*
- * If dhcpcd is doing RS, disable RA support
- * in the kernel. Otherwise, leave it alone.
- * Logically it should be disabled regardless as dhcpcd can
- * do it better and the user saying no RS means no RS even the kernel,
- * but some crazy people want the kernel to do it still.
+ * If not doing autoconf, don't disable the kernel from doing it.
+ * If we need to, we should have another option actively disable it.
*/
if (ifp->options->options & DHCPCD_IPV6RS)
flags &= ~IFXF_AUTOCONF6;
@@ -1423,11 +1420,8 @@ if_setup_inet6(const struct interface *ifp)
#endif
/*
- * If dhcpcd is doing RS, disable RA support
- * in the kernel. Otherwise, leave it alone.
- * Logically it should be disabled regardless as dhcpcd can
- * do it better and the user saying no RS means no RS even the kernel,
- * but some crazy people want the kernel to do it still.
+ * If not doing autoconf, don't disable the kernel from doing it.
+ * If we need to, we should have another option actively disable it.
*/
#ifdef ND6_IFF_ACCEPT_RTADV
if (ifp->options->options & DHCPCD_IPV6RS)