From fa2f320241607861de8bc60e1b0b634e241ded77 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 2 Apr 2013 14:27:56 +0200 Subject: [PATCH] COMSTACK: fix resolving of non-passive addresses Bug introduced in previous commit. --- src/tcpip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tcpip.c b/src/tcpip.c index 41c0725..32b1ec1 100644 --- a/src/tcpip.c +++ b/src/tcpip.c @@ -388,6 +388,7 @@ struct addrinfo *tcpip_getaddrinfo(const char *str, const char *port, else { error = getaddrinfo(host, port, &hints, &res); + *ipv6_only = -1; } if (error) return 0; -- 1.7.10.4