From: Nick Mathewson Date: Sun, 25 Nov 2012 18:24:37 +0000 (-0500) Subject: Oops; make DNSPort configuration take address family options X-Git-Tag: tor-0.2.4.7-alpha~6^2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44a9a47706f4dbca2386b0d5cc5cd3aea5781d59;p=thirdparty%2Ftor.git Oops; make DNSPort configuration take address family options --- diff --git a/src/or/config.c b/src/or/config.c index acfe2c4f83..e91d24487b 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -5125,7 +5125,7 @@ parse_ports(or_options_t *options, int validate_only, options->DNSPort_lines, options->DNSListenAddress, "DNS", CONN_TYPE_AP_DNS_LISTENER, "127.0.0.1", 0, - CL_PORT_WARN_NONLOCAL) < 0) { + CL_PORT_WARN_NONLOCAL|CL_PORT_TAKES_HOSTNAMES) < 0) { *msg = tor_strdup("Invalid DNSPort/DNSListenAddress configuration"); goto err; }