mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix ServerDNSRandomizeCase so that setting it to 0 works.
Bugfix on 0.2.1.7-alpha. Backport candidate. Fixes bug 905. svn:r18063
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user