Hi Stuart,

Thank you for your response.

> > 2) How to disable an interface from joining IPv6 Node Information
> > multicast group (RFC 4620)?
> > In sys/netinet6/in6.c, the function in6_update_ifa contains the
> > following lines:
> >
> > /*
> >  * join node information group address
> >  */
> > if (in6_nigroup(ifp, hostname, hostnamelen, &mltaddr) == 0) {
> >     imm = in6_joingroup(ifp, &mltaddr.sin6_addr, &error);
> >     if (!imm) {
> >             /* XXX not very fatal, go on... */
> >     } else {
> >             LIST_INSERT_HEAD(&ia6->ia6_memberships,
> >                 imm, i6mm_chain);
> >     }
> > }
> 
> Not 100% sure but I think this may have been missed when support for
> RFC 4620 was removed from the kernel in 2014
> 
> https://github.com/openbsd/src/commit/43f29087ef2fc515510c43f9dd706f7bbd9e39b7

You may be probably right, although I do not claim to understand IPv6.
My best guess is that the code block might have been originally present
in the KAME project.

Regards,
ab
---------|---------|---------|---------|---------|---------|---------|--

Reply via email to