changeset 387:94c5eb117877

- Small fix for IPv6 resolving.
author jcid
date Sat, 04 Oct 2008 20:55:18 +0200
parents a8f7106d78ee
children dfd25e7990be
files src/dns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dns.c	Sat Oct 04 20:51:26 2008 +0200
+++ b/src/dns.c	Sat Oct 04 20:55:18 2008 +0200
@@ -269,7 +269,7 @@
    int error;
 
    memset(&hints, 0, sizeof(hints));
-   hints.ai_family = PF_INET;
+   hints.ai_family = AF_UNSPEC;
    hints.ai_socktype = SOCK_STREAM;
 
    Dlist *hosts = dList_new(2);