X-Git-Url: https://ruderich.org/simon/gitweb/?p=tlsproxy%2Ftlsproxy.git;a=blobdiff_plain;f=tests%2Fclient.c;h=23dca4b3c580dbac340c42be38f4b0d18118b19d;hp=fe10c8ce8b1f0983375797b1d44dcc9c548d1abe;hb=e83df110da120749285426797455444da6e6cf95;hpb=14d78ab9d7df60c0c183ae28db4cd20a5bd2e168 diff --git a/tests/client.c b/tests/client.c index fe10c8c..23dca4b 100644 --- a/tests/client.c +++ b/tests/client.c @@ -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) {