X-Git-Url: https://ruderich.org/simon/gitweb/?p=tlsproxy%2Ftlsproxy.git;a=blobdiff_plain;f=src%2Fconnection.c;h=793e4680ebfc6c9312498298a6a4737e5513f2a8;hp=0d287491e861b9ad87f2d3844d592fc066768324;hb=e83df110da120749285426797455444da6e6cf95;hpb=14d78ab9d7df60c0c183ae28db4cd20a5bd2e168 diff --git a/src/connection.c b/src/connection.c index 0d28749..793e468 100644 --- a/src/connection.c +++ b/src/connection.c @@ -844,7 +844,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) {