]> granicus.if.org Git - pgbouncer/commitdiff
Fix bad hint.ai_family left from testing
authorMarko Kreen <markokr@gmail.com>
Mon, 21 Feb 2011 10:21:51 +0000 (12:21 +0200)
committerMarko Kreen <markokr@gmail.com>
Mon, 21 Feb 2011 10:21:51 +0000 (12:21 +0200)
src/pooler.c

index 6f4dd18ab25c2e814611bd06e45b716222172dce..93b7cf6f766793bc723759790926dd78e84f1269 100644 (file)
@@ -36,7 +36,7 @@ static STATLIST(sock_list);
 
 /* hints for getaddrinfo(listen_addr) */
 static const struct addrinfo hints = {
-       .ai_family = AF_INET6,
+       .ai_family = AF_UNSPEC,
        .ai_socktype = SOCK_STREAM,
        .ai_protocol = IPPROTO_TCP,
        .ai_flags = AI_PASSIVE,