From 883992d876f34a0486e675160a60701dc0a1b66a Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Fri, 13 Apr 2012 13:33:44 +0200 Subject: Add client and server config options IPv4Only and IPv6Only. Related to RADSECPROXY-37. TODO: Add documentation. --- tls.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tls.c') diff --git a/tls.c b/tls.c index 0282d63..ba2c5a3 100644 --- a/tls.c +++ b/tls.c @@ -82,7 +82,9 @@ static char **getlistenerargs() { void tlssetsrcres() { if (!srcres) - srcres = resolvepassiveaddrinfo(protoopts ? protoopts->sourcearg : NULL, NULL, protodefs.socktype); + srcres = + resolvepassiveaddrinfo(protoopts ? protoopts->sourcearg : NULL, + AF_UNSPEC, NULL, protodefs.socktype); } int tlsconnect(struct server *server, struct timeval *when, int timeout, char *text) { -- cgit v1.1