blob: b1e3bfe1bd5ee70b8808877719f770c279122e98 (
plain)
1
2
3
4
5
6
7
8
9
10
|
--- src/dns.c~ 2007-06-26 12:58:38.000000000 +0600
+++ src/dns.c 2009-10-13 17:28:46.233709651 +0600
@@ -119,6 +119,7 @@
memset(&hints, 0, sizeof(hints));
hints.ai_family = PF_UNSPEC;
+ hints.ai_flags = AI_ADDRCONFIG;
hints.ai_socktype = SOCK_STREAM;
if (port)
sprintf(ascport, "%9.9d", port);
|