summaryrefslogtreecommitdiff
path: root/net/libunp/files/patch-lib_mcast__leave.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/libunp/files/patch-lib_mcast__leave.c')
-rw-r--r--net/libunp/files/patch-lib_mcast__leave.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/libunp/files/patch-lib_mcast__leave.c b/net/libunp/files/patch-lib_mcast__leave.c
new file mode 100644
index 000000000000..2bc3a8c8b092
--- /dev/null
+++ b/net/libunp/files/patch-lib_mcast__leave.c
@@ -0,0 +1,11 @@
+--- lib/mcast_leave.c.orig 1997-06-18 19:50:58 UTC
++++ lib/mcast_leave.c
+@@ -23,7 +23,7 @@ mcast_leave(int sockfd, const SA *sa, so
+ &((struct sockaddr_in6 *) sa)->sin6_addr,
+ sizeof(struct in6_addr));
+ mreq6.ipv6mr_interface = 0;
+- return(setsockopt(sockfd, IPPROTO_IPV6, IPV6_DROP_MEMBERSHIP,
++ return(setsockopt(sockfd, IPPROTO_IPV6, IPV6_LEAVE_GROUP,
+ &mreq6, sizeof(mreq6)));
+ }
+ #endif