Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Feb 2000 20:14:04 +0900 (JST)
From:      sumikawa@ebina.hitachi.co.jp
To:        alex@big.endian.de
Cc:        sumikawa@ebina.hitachi.co.jp
Subject:   Re: IPV6_DROP_MEMBERSHIP not defined
Message-ID:  <200002081114.UAA06835@prince.net.ebina.hitachi.co.jp>
In-Reply-To: <20000208121128.A2675@cichlids.cichlids.com>
References:  <20000207183115.A4246@cichlids.cichlids.com> <y7vog9s1dyq.wl@condor.isl.rdc.toshiba.co.jp> <20000208121128.A2675@cichlids.cichlids.com>

next in thread | previous in thread | raw e-mail | index | archive | help
alex> Ah, ok, sorry.
alex> I'll patch it then.

I've already made the following patch and send it to the maintainer.
Could you try it?

---
Munechika SUMIKAWA @ KAME Project / FreeBSD.org

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/libunp/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile	1999/10/02 19:13:05	1.1.1.1
+++ Makefile	2000/02/08 06:20:29
@@ -8,7 +8,7 @@
 
 DISTNAME=	unpv12e
 PKGNAME=	libunp-1.0
-CATEGORIES=     net
+CATEGORIES=     net ipv6
 MASTER_SITES=	ftp://ftp.kohala.com/pub/rstevens/ \
 		http://www.cs.columbia.edu/networks98/stevens/
 
Index: patches/patch-ar
===================================================================
RCS file: patch-ar
diff -N patch-ar
--- /dev/null	Tue Feb  8 14:09:55 2000
+++ patch-ar	Tue Feb  8 15:20:30 2000
@@ -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
Index: patches/patch-as
===================================================================
RCS file: patch-as
diff -N patch-as
--- /dev/null	Tue Feb  8 14:09:55 2000
+++ patch-as	Tue Feb  8 15:20:30 2000
@@ -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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002081114.UAA06835>