Explicitly Request IPv4 Names
authorJayson Vantuyl <jvantuyl@engineyard.com>
Mon, 23 Feb 2009 13:51:34 -0800
changeset 584 96b31c822ab8
parent 583 dfe3688d71c9
child 585 bccdb423a8e9
Explicitly Request IPv4 Names
loudmouth/lm-blocking-resolver.c
--- a/loudmouth/lm-blocking-resolver.c	Tue Feb 17 11:22:22 2009 -0700
+++ b/loudmouth/lm-blocking-resolver.c	Mon Feb 23 13:51:34 2009 -0800
@@ -102,7 +102,7 @@
     /* Lookup */
 
     memset (&req, 0, sizeof(req));
-    req.ai_family   = AF_UNSPEC;
+    req.ai_family   = AF_INET;
     req.ai_socktype = SOCK_STREAM;
     req.ai_protocol = IPPROTO_TCP;