diff options
author | jcid <devnull@localhost> | 2008-10-04 20:55:18 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-10-04 20:55:18 +0200 |
commit | 338604dc77ad71b20c7aeee8111cb92080bf9908 (patch) | |
tree | 0fe5f705229e7c50b4c4d79d45349fb42abd4f74 | |
parent | eb4d7d2271794959a382a20ef788b88bc4589cec (diff) |
- Small fix for IPv6 resolving.
-rw-r--r-- | src/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -269,7 +269,7 @@ static void *Dns_server(void *data) 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); |