9a7dc09e56
Version 1.4.2 of Java 2 Platform, Standard Edition (J2SE) with help from many; ok naddy@ espie@
15 lines
427 B
Plaintext
15 lines
427 B
Plaintext
$OpenBSD: disable-ipv6,v 1.1.1.1 2004/12/21 04:01:05 kurt Exp $
|
|
--- j2se/src/solaris/native/java/net/net_util_md.c.orig Tue Aug 24 09:46:38 2004
|
|
+++ j2se/src/solaris/native/java/net/net_util_md.c Tue Aug 24 09:47:08 2004
|
|
@@ -166,6 +166,10 @@ jint IPv6_supported()
|
|
int fd;
|
|
void *ipv6_fn;
|
|
|
|
+#ifdef __OpenBSD__
|
|
+ return JNI_FALSE;
|
|
+#endif
|
|
+
|
|
fd = JVM_Socket(AF_INET6, SOCK_STREAM, 0) ;
|
|
if (fd < 0) {
|
|
/*
|