aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-01-10 14:38:14 +0000
committerNick Mathewson <nickm@torproject.org>2009-01-10 14:38:14 +0000
commitdbc8a44baee759e301517249c37e47359a5381b3 (patch)
treee44d819753b66a1481d990d30e104011980afbbb /src/or/dns.c
parentbd0e400bc37bfca75e8ffd81a7266385bcd418f6 (diff)
downloadtor-dbc8a44baee759e301517249c37e47359a5381b3.tar.gz
tor-dbc8a44baee759e301517249c37e47359a5381b3.zip
Fix ServerDNSRandomizeCase so that setting it to 0 works.
Bugfix on 0.2.1.7-alpha. Backport candidate. Fixes bug 905. svn:r18063
Diffstat (limited to 'src/or/dns.c')
-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 f8191679bf..d57e8fc562 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -198,9 +198,9 @@ dns_init(void)
init_cache_map();
evdns_set_random_bytes_fn(_dns_randfn);
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())) {
int r = configure_nameservers(1);
return r;