]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/blobdiff - tests/client.c
Don't use AI_V4MAPPED in getaddrinfo().
[tlsproxy/tlsproxy.git] / tests / client.c
index fe10c8ce8b1f0983375797b1d44dcc9c548d1abe..23dca4b3c580dbac340c42be38f4b0d18118b19d 100644 (file)
@@ -225,7 +225,7 @@ static int connect_to_host(const char *hostname, const char *port) {
     gai_hints.ai_protocol = 0;
     gai_hints.ai_flags    = AI_NUMERICSERV /* given port is numeric */
                           | AI_ADDRCONFIG  /* supported by this computer */
-                          | AI_V4MAPPED;   /* support IPv4 through IPv6 */
+                          ;
     gai_return = getaddrinfo(hostname, port, &gai_hints, &gai_result);
     if (gai_return != 0) {
         if (gai_return == EAI_SYSTEM) {