freebsd-ports/net/libunp/files/patch-lib_mcast__leave.c
Mathieu Arnold 1a8a092d9f Rename all files containing a : in their filename.
While there, run make makepatch on affected ports, and rename patches
accordingly.

Sponsored by:	Absolight
2016-06-17 23:28:04 +00:00

11 lines
417 B
C

--- 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