diff options
Diffstat (limited to 'net/libunp/files')
-rw-r--r-- | net/libunp/files/patch-ar | 11 | ||||
-rw-r--r-- | net/libunp/files/patch-as | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/net/libunp/files/patch-ar b/net/libunp/files/patch-ar new file mode 100644 index 000000000000..61b218ab73d4 --- /dev/null +++ b/net/libunp/files/patch-ar @@ -0,0 +1,11 @@ +--- lib/mcast_leave.c- Tue Feb 8 15:10:50 2000 ++++ lib/mcast_leave.c Tue Feb 8 15:05:53 2000 +@@ -23,7 +23,7 @@ + &((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 diff --git a/net/libunp/files/patch-as b/net/libunp/files/patch-as new file mode 100644 index 000000000000..5ac07b948fdb --- /dev/null +++ b/net/libunp/files/patch-as @@ -0,0 +1,11 @@ +--- lib/mcast_join.c- Tue Feb 8 15:12:14 2000 ++++ lib/mcast_join.c Tue Feb 8 15:12:37 2000 +@@ -56,7 +56,7 @@ + else + mreq6.ipv6mr_interface = 0; + +- return(setsockopt(sockfd, IPPROTO_IPV6, IPV6_ADD_MEMBERSHIP, ++ return(setsockopt(sockfd, IPPROTO_IPV6, IPV6_JOIN_GROUP, + &mreq6, sizeof(mreq6))); + } + #endif |