Commit 5618bade authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Use AF_UNSPEC for the address family

Conflicts:
	lib/libvmod_std/vmod_std_conversions.c
parent d02d2197
......@@ -94,7 +94,7 @@ vmod_ip(VRT_CTX, VCL_STRING s, VCL_IP d, VCL_BOOL n)
return (NULL);
}
retval = VSS_ResolveFirst(p, s, "80", PF_UNSPEC, SOCK_STREAM,
retval = VSS_ResolveFirst(p, s, "80", AF_UNSPEC, SOCK_STREAM,
n ? 0 : AI_NUMERICHOST);
if (retval != NULL)
return (retval);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment