[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r18066: {tor} Backport r18063: make ServerDNSRandomizeCase work. Fix bug 9 (tor/branches/tor-0_2_0-patches/src/or)



Author: nickm
Date: 2009-01-10 09:49:38 -0500 (Sat, 10 Jan 2009)
New Revision: 18066

Modified:
   tor/branches/tor-0_2_0-patches/src/or/dns.c
Log:
Backport r18063: make ServerDNSRandomizeCase work. Fix bug 905.

Modified: tor/branches/tor-0_2_0-patches/src/or/dns.c
===================================================================
--- tor/branches/tor-0_2_0-patches/src/or/dns.c	2009-01-10 14:48:41 UTC (rev 18065)
+++ tor/branches/tor-0_2_0-patches/src/or/dns.c	2009-01-10 14:49:38 UTC (rev 18066)
@@ -199,9 +199,9 @@
   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;