I have been told that I should send a diff rather than complain and
expect others to make a diff. Oops ,)
So attached is a diff.
Oh boy oh boy will I now become part of the Linux Changelog? ;)
Felix
--- linux/include/linux/in6.h Sat May 19 02:45:08 2001
+++ linux.fefe/include/linux/in6.h Fri Jun 8 20:37:13 2001
@@ -53,7 +53,7 @@
struct in6_addr ipv6mr_multiaddr;
/* local IPv6 address of interface */
- int ipv6mr_ifindex;
+ int ipv6mr_interface;
};
struct in6_flowlabel_req
--- linux/net/ipv6/ipv6_sockglue.c Mon Mar 26 04:14:25 2001
+++ linux.fefe/net/ipv6/ipv6_sockglue.c Fri Jun 8 20:37:01 2001
@@ -346,9 +346,9 @@
break;
if (optname == IPV6_ADD_MEMBERSHIP)
- retv = ipv6_sock_mc_join(sk, mreq.ipv6mr_ifindex,
&mreq.ipv6mr_multiaddr);
+ retv = ipv6_sock_mc_join(sk, mreq.ipv6mr_interface,
+&mreq.ipv6mr_multiaddr);
else
- retv = ipv6_sock_mc_drop(sk, mreq.ipv6mr_ifindex,
&mreq.ipv6mr_multiaddr);
+ retv = ipv6_sock_mc_drop(sk, mreq.ipv6mr_interface,
+&mreq.ipv6mr_multiaddr);
break;
}
case IPV6_ROUTER_ALERT: