Backport r18063: make ServerDNSRandomizeCase work. Fix bug 905.

svn:r18066
This commit is contained in:
Nick Mathewson 2009-01-10 14:49:38 +00:00
parent e600b87e75
commit b274ea202e
1 changed files with 2 additions and 2 deletions

View File

@ -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;