as naddy found out the hard way we also need to stop the kernel from
sending router solicitations or things get confused rather quickly,
this is better:

diff --git sys/netinet6/nd6_rtr.c sys/netinet6/nd6_rtr.c
index 7fc1e36e0ec..89c6d1dd078 100644
--- sys/netinet6/nd6_rtr.c
+++ sys/netinet6/nd6_rtr.c
@@ -282,6 +282,7 @@ nd6_rs_output(struct ifnet* ifp, struct in6_ifaddr *ia6)
 void
 nd6_rs_output_set_timo(int timeout)
 {
+       return;
        nd6_rs_output_timeout = timeout;
        timeout_add_sec(&nd6_rs_output_timer, nd6_rs_output_timeout);
 }
@@ -381,6 +382,8 @@ nd6_ra_input(struct mbuf *m, int off, int icmp6len)
        if (ifp == NULL)
                goto freeit;
 
+       goto freeit;
+
        /* We accept RAs only if inet6 autoconf is enabled  */
        if (!(ifp->if_xflags & IFXF_AUTOCONF6))
                goto freeit;


-- 
I'm not entirely sure you are real.

Reply via email to