aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dns.c b/src/dns.c
index 21bebe9e..c783366f 100644
--- a/src/dns.c
+++ b/src/dns.c
@@ -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);