[master] 9dba9bc7e Use AF_UNSPEC for the address family
Dridi Boukelmoune
dridi.boukelmoune at gmail.com
Tue May 21 07:46:09 UTC 2019
commit 9dba9bc7ea29e3b324b8e884bceca07266a69d21
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date: Thu May 9 20:11:44 2019 +0200
Use AF_UNSPEC for the address family
diff --git a/lib/libvmod_std/vmod_std_conversions.c b/lib/libvmod_std/vmod_std_conversions.c
index 49e3594eb..d38740ec0 100644
--- a/lib/libvmod_std/vmod_std_conversions.c
+++ b/lib/libvmod_std/vmod_std_conversions.c
@@ -206,7 +206,7 @@ vmod_ip(VRT_CTX, struct VARGS(ip) *a)
return (NULL);
}
- retval = VSS_ResolveFirst(p, a->s, "80", PF_UNSPEC, SOCK_STREAM,
+ retval = VSS_ResolveFirst(p, a->s, "80", AF_UNSPEC, SOCK_STREAM,
a->resolve ? 0 : AI_NUMERICHOST);
if (retval != NULL)
return (retval);
More information about the varnish-commit
mailing list