summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-01-10 14:49:38 +0000
committerNick Mathewson <nickm@torproject.org>2009-01-10 14:49:38 +0000
commitb274ea202e0365d58536f8e350ae96669903b28c (patch)
treefd3168685c9f3c9ff3cd95ba7ffea417b1f2196c
parente600b87e75bbdca3434a5798f01d909ec60105d1 (diff)
downloadtor-b274ea202e0365d58536f8e350ae96669903b28c.tar.gz
tor-b274ea202e0365d58536f8e350ae96669903b28c.zip
Backport r18063: make ServerDNSRandomizeCase work. Fix bug 905.
svn:r18066
-rw-r--r--src/or/dns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index a91fbaab47..95d4239430 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -199,9 +199,9 @@ dns_init(void)
init_cache_map();
evdns_set_transaction_id_fn(dns_get_transaction_id);
if (get_options()->ServerDNSRandomizeCase)
- evdns_set_option("randomize-case", "1", DNS_OPTIONS_ALL);
+ evdns_set_option("randomize-case:", "1", DNS_OPTIONS_ALL);
else
- evdns_set_option("randomize-case", "0", DNS_OPTIONS_ALL);
+ evdns_set_option("randomize-case:", "0", DNS_OPTIONS_ALL);
if (server_mode(get_options()))
return configure_nameservers(1);
return 0;