Skip to contentSkip to conversation

diff for ipv6 RFC compatibility

PATCH Felix von Leitner 2 participants 2 messages Jun 8, 2001 – Jun 13, 2001

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

include/linux/in6.h +1 -1
@@ -53,7 +53,7 @@
 	struct in6_addr ipv6mr_multiaddr;
 
 	/* local IPv6 address of interface */
-	int		ipv6mr_ifindex;
+	int		ipv6mr_interface;
 };
 
 struct in6_flowlabel_req
net/ipv6/ipv6_sockglue.c +2 -2
@@ -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:
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Felix" == Felix von Leitner <[email protected]> writes:

Felix> I have been told that I should send a diff rather than complain Felix> and expect others to make a diff. Oops ,)

Felix> So attached is a diff.

A diff against glibc sent to the glibc list would be a lot more useful.

Felix> Oh boy oh boy will I now become part of the Linux Changelog? ;)

Probably not, but you are likely to get into the glibc ChangeLog file.

Jes