* Error in comment in include/uapi/linux/in6.h?
@ 2020-01-06 1:19 Laurent Bigonville
2020-01-06 4:00 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Laurent Bigonville @ 2020-01-06 1:19 UTC (permalink / raw)
To: netdev
Hello,
Looking at the ipv6_mreq struct in include/uapi/linux/in6.h, the comment
for the ipv6mr_ifindex member says "local IPv6 address of interface",
shouldn't that be "index of the interface" or something like that? Or am
I mistaken here?
struct ipv6_mreq {
/* IPv6 multicast address of group */
struct in6_addr ipv6mr_multiaddr;
/* local IPv6 address of interface */
int ipv6mr_ifindex;
};
BTW, the include/uapi/linux/in6.h file is not listed in the MAINTAINERS
file.
Kind regards,
Laurent Bigonville
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Error in comment in include/uapi/linux/in6.h?
2020-01-06 1:19 Error in comment in include/uapi/linux/in6.h? Laurent Bigonville
@ 2020-01-06 4:00 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-01-06 4:00 UTC (permalink / raw)
To: bigon; +Cc: netdev
From: Laurent Bigonville <bigon@bigon.be>
Date: Mon, 6 Jan 2020 02:19:52 +0100
> Looking at the ipv6_mreq struct in include/uapi/linux/in6.h, the comment
> for the ipv6mr_ifindex member says "local IPv6 address of interface",
> shouldn't that be "index of the interface" or something like that? Or am
> I mistaken here?
>
> struct ipv6_mreq {
> /* IPv6 multicast address of group */
> struct in6_addr ipv6mr_multiaddr;
>
> /* local IPv6 address of interface */
> int ipv6mr_ifindex;
> };
Yes, it should.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-01-06 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-06 1:19 Error in comment in include/uapi/linux/in6.h? Laurent Bigonville
2020-01-06 4:00 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.