Commit 9dba9bc7 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

Use AF_UNSPEC for the address family

parent fc2aed27
......@@ -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);
......
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