]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Oops; _actually_ enable microdesc-by-default for clients
authorNick Mathewson <nickm@torproject.org>
Mon, 15 Aug 2011 14:52:23 +0000 (10:52 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 15 Aug 2011 14:52:23 +0000 (10:52 -0400)
It turns out that it wasn't enough to set the configuration to
"auto", since the correct behavior for "auto" had been disabled in
microdesc.c.   :p

(Hasn't been in a release yet, so doesn't need a changes entry.)

src/or/microdesc.c

index 1b0c333dae2af0962141444ee33f78ecdd141ab5..627fad58e1220408029976a57f0d8a472ed1b4c5 100644 (file)
@@ -698,14 +698,8 @@ we_use_microdescriptors_for_circuits(const or_options_t *options)
   int ret = options->UseMicrodescriptors;
   if (ret == -1) {
     /* UseMicrodescriptors is "auto"; we need to decide: */
-#if 0
     /* So we decide that we'll use microdescriptors iff we are not a server */
     ret = ! server_mode(options);
-#else
-    /* We don't use microdescs for now: not enough caches are running
-     * 0.2.3.1-alpha */
-    ret = 0;
-#endif
   }
   return ret;
 }