On Thu, Nov 27, 2014 at 12:21:13PM +0100, Stefan Sperling wrote: > Seems like rtsol and/or setting an IPv6 address doesn't activate AF_INET6 > even though it should.
Perhaps my in6.c change broke it? > Index: sys/netinet6/in6.c > =================================================================== > RCS file: /cvs/src/sys/netinet6/in6.c,v > retrieving revision 1.146 > diff -u -p -r1.146 in6.c > --- sys/netinet6/in6.c 24 Nov 2014 12:43:54 -0000 1.146 > +++ sys/netinet6/in6.c 27 Nov 2014 10:40:42 -0000 > @@ -607,7 +607,7 @@ in6_update_ifa(struct ifnet *ifp, struct > return (EAFNOSUPPORT); > > /* must have link-local */ > - if (ifp->if_xflags & IFXF_NOINET6) > + if (in6ifa_ifpforlinklocal(ifp, 0) == NULL) > return (EAFNOSUPPORT); > > /*