diff options
Diffstat (limited to 'src/dns.c')
-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); |