X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=tcp.c;h=86fa9b6cf5f93b83731e8c94098f5d1821a954cf;hb=883992d876f34a0486e675160a60701dc0a1b66a;hp=797ec9e075a532e60866b676c1f9286e2810d60b;hpb=2f7eb5a947e5093f91ed5264d3b0a97859e53769;p=radsecproxy.git diff --git a/tcp.c b/tcp.c index 797ec9e..86fa9b6 100644 --- a/tcp.c +++ b/tcp.c @@ -78,7 +78,9 @@ static char **getlistenerargs() { void tcpsetsrcres() { if (!srcres) - srcres = resolvepassiveaddrinfo(protoopts ? protoopts->sourcearg : NULL, NULL, protodefs.socktype); + srcres = + resolvepassiveaddrinfo(protoopts ? protoopts->sourcearg : NULL, + AF_UNSPEC, NULL, protodefs.socktype); } int tcpconnect(struct server *server, struct timeval *when, int timeout, char *text) {