When we disable INET6 on an interface that also removes the autoconf6
flag.  Notify userland about this via the route socket, otherwise
slaacd gets confused about the state the interface is in.

OK?

diff --git netinet6/in6_ifattach.c netinet6/in6_ifattach.c
index 89acde9c6a4..65eac6dfa56 100644
--- netinet6/in6_ifattach.c
+++ netinet6/in6_ifattach.c
@@ -560,6 +560,8 @@ in6_ifdetach(struct ifnet *ifp)
                rtfree(rt);
        }
 
-       if (ifp->if_xflags & IFXF_AUTOCONF6)
+       if (ifp->if_xflags & IFXF_AUTOCONF6) {
                ifp->if_xflags &= ~IFXF_AUTOCONF6;
+               rtm_ifchg(ifp);
+       }
 }


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

Reply via email to