RFR (XXS): 8162811: use correct IPv6 multicast socket options for AIX in PlainDatagramSocketImpl.c
Langer, Christoph
christoph.langer at sap.com
Sat Jul 30 05:54:03 UTC 2016
Hi,
can you please review this very small change for AIX:
diff -r 8730c04eac90 -r 6451c746c6d5 src/java.base/unix/native/libnet/PlainDatagramSocketImpl.c
--- a/src/java.base/unix/native/libnet/PlainDatagramSocketImpl.c Fri Jul 29 19:00:54 2016 -0400
+++ b/src/java.base/unix/native/libnet/PlainDatagramSocketImpl.c Sat Jul 30 07:27:21 2016 +0200
@@ -2223,7 +2223,7 @@
mname6.ipv6mr_interface = idx;
}
-#if defined(_ALLBSD_SOURCE)
+#if defined(_ALLBSD_SOURCE) || defined(_AIX)
#define ADD_MEMBERSHIP IPV6_JOIN_GROUP
#define DRP_MEMBERSHIP IPV6_LEAVE_GROUP
#define S_ADD_MEMBERSHIP "IPV6_JOIN_GROUP"
Thanks
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/ppc-aix-port-dev/attachments/20160730/d897af6e/attachment-0001.html>
More information about the ppc-aix-port-dev
mailing list