Mercurial > hg > icedtea8-forest > jdk
changeset 12958:e4ff08f9c787 icedtea-3.7.0pre01
PR3501: Revert 8165320 so as not to revert the work of 8034174 (PR2290)
author | andrew |
---|---|
date | Tue, 12 Dec 2017 03:59:01 +0000 |
parents | 7b4a86a15578 |
children | 3204abe7c7e2 |
files | src/solaris/native/java/net/NetworkInterface.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/solaris/native/java/net/NetworkInterface.c Thu Nov 09 14:38:54 2017 +0530 +++ b/src/solaris/native/java/net/NetworkInterface.c Tue Dec 12 03:59:01 2017 +0000 @@ -1339,9 +1339,9 @@ static int openSocketWithFallback(JNIEnv *env, const char *ifname) { int sock; - if ((sock = JVM_Socket(AF_INET, SOCK_DGRAM, 0)) < 0) { + if ((sock = socket(AF_INET, SOCK_DGRAM, 0)) < 0) { if (errno == EPROTONOSUPPORT) { - if ((sock = JVM_Socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { + if ((sock = socket(AF_INET6, SOCK_DGRAM, 0)) < 0) { NET_ThrowByNameWithLastError (env, JNU_JAVANETPKG "SocketException", "IPV6 Socket creation failed"); return -1;