diff options
author | phantom <phantom@FreeBSD.org> | 2003-03-11 08:13:53 +0000 |
---|---|---|
committer | phantom <phantom@FreeBSD.org> | 2003-03-11 08:13:53 +0000 |
commit | 4eed48a2b01f001bd7272daf89e08f07f0b103a0 (patch) | |
tree | a6c9b3bfea56a5e4a36caba11817c4aee1af9e20 /java/jdk16 | |
parent | 854ad1489c4dcc3670a4085b0b8176e5bd01dec9 (diff) | |
download | FreeBSD-ports-4eed48a2b01f001bd7272daf89e08f07f0b103a0.zip FreeBSD-ports-4eed48a2b01f001bd7272daf89e08f07f0b103a0.tar.gz |
Add patch which backouts some of my early compile hacks which now preventing
MulticastSocket.joinGroup() from behaving correctly.
Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org>
Diffstat (limited to 'java/jdk16')
-rw-r--r-- | java/jdk16/files/patch-PlainDatagramSocketImpl.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/java/jdk16/files/patch-PlainDatagramSocketImpl.c b/java/jdk16/files/patch-PlainDatagramSocketImpl.c new file mode 100644 index 0000000..c67cba9 --- /dev/null +++ b/java/jdk16/files/patch-PlainDatagramSocketImpl.c @@ -0,0 +1,13 @@ +--- ../../j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c.orig Tue Mar 11 10:43:29 2003 ++++ ../../j2se/src/solaris/native/java/net/PlainDatagramSocketImpl.c Tue Mar 11 10:43:24 2003 +@@ -2034,9 +2034,7 @@ + /* + * Join the multicast group. + */ +-// XXXBSD: fix for BSD (re-implement with KAME ?) +-// if (JVM_SetSockOpt(fd, IPPROTO_IP, (join ? IP_ADD_MEMBERSHIP:IP_DROP_MEMBERSHIP), +- if (JVM_SetSockOpt(fd, IPPROTO_IP, (join ? 1 : 0), ++ if (JVM_SetSockOpt(fd, IPPROTO_IP, (join ? IP_ADD_MEMBERSHIP:IP_DROP_MEMBERSHIP), + (char *) &mname, mname_len) < 0) { + + /* |