Index: runtime/bin/socket_android.cc |
=================================================================== |
--- runtime/bin/socket_android.cc (revision 35316) |
+++ runtime/bin/socket_android.cc (working copy) |
@@ -221,7 +221,7 @@ |
memset(&hints, 0, sizeof(hints)); |
hints.ai_family = SocketAddress::FromType(type); |
hints.ai_socktype = SOCK_STREAM; |
- hints.ai_flags = (AI_V4MAPPED | AI_ADDRCONFIG); |
+ hints.ai_flags = 0; |
Anders Johnsen
2014/04/24 06:49:01
Please clean up the code below, as well. Why can w
|
hints.ai_protocol = IPPROTO_TCP; |
struct addrinfo* info = NULL; |
int status = getaddrinfo(host, 0, &hints, &info); |