]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Oops; make DNSPort configuration take address family options
authorNick Mathewson <nickm@torproject.org>
Sun, 25 Nov 2012 18:24:37 +0000 (13:24 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 17 Dec 2012 19:48:08 +0000 (14:48 -0500)
src/or/config.c

index acfe2c4f833c999cce97cd82b57aad451e328ac8..e91d24487b98bb97cb182d7221d8896ec88f3368 100644 (file)
@@ -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;
   }