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. --- dtls.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dtls.c') diff --git a/dtls.c b/dtls.c index 19386c4..bbebfef 100644 --- a/dtls.c +++ b/dtls.c @@ -99,7 +99,9 @@ struct dtlsservernewparams { void dtlssetsrcres() { if (!srcres) - srcres = resolvepassiveaddrinfo(protoopts ? protoopts->sourcearg : NULL, NULL, protodefs.socktype); + srcres = + resolvepassiveaddrinfo(protoopts ? protoopts->sourcearg : NULL, + AF_UNSPEC, NULL, protodefs.socktype); } int udp2bio(int s, struct gqueue *q, int cnt) { -- cgit v1.1