summaryrefslogtreecommitdiff
path: root/www/curl/patches/patch-aa
blob: 90dc3dceef88bb8f5f77884552295e77eb82f5c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-aa,v 1.3 2002/03/15 08:18:46 itojun Exp $

--- lib/hostip.c-	Fri Mar 15 17:14:26 2002
+++ lib/hostip.c	Fri Mar 15 17:14:32 2002
@@ -293,7 +293,7 @@
   char sbuf[NI_MAXSERV];
 
   memset(&hints, 0, sizeof(hints));
-  hints.ai_family = PF_INET;
+  hints.ai_family = PF_UNSPEC;
   hints.ai_socktype = SOCK_STREAM;
   hints.ai_flags = AI_CANONNAME;
   snprintf(sbuf, sizeof(sbuf), "%d", port);