From: Adam Dickmeiss Date: Tue, 2 Apr 2013 12:27:56 +0000 (+0200) Subject: COMSTACK: fix resolving of non-passive addresses X-Git-Tag: v4.2.52~6 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=fa2f320241607861de8bc60e1b0b634e241ded77;p=yaz-moved-to-github.git COMSTACK: fix resolving of non-passive addresses Bug introduced in previous commit. --- 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;