[tor-commits] [tor/master] Actually generate microdescriptors with p6 lines.

nickm at torproject.org nickm at torproject.org
Thu Nov 15 19:47:53 UTC 2012


commit 1cc77365753a298de6e1706d2faa592f6ed33b95
Author: Nick Mathewson <nickm at torproject.org>
Date:   Tue Nov 6 12:12:59 2012 -0500

    Actually generate microdescriptors with p6 lines.
---
 src/or/dirserv.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 1d63be0..c1ddf73 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -73,8 +73,10 @@ static const struct consensus_method_range_t {
   int high;
 } microdesc_consensus_methods[] = {
   {MIN_METHOD_FOR_MICRODESC, MIN_METHOD_FOR_A_LINES - 1},
-  {MIN_METHOD_FOR_A_LINES, MAX_SUPPORTED_CONSENSUS_METHOD},
-  {-1, -1}};
+  {MIN_METHOD_FOR_A_LINES, MIN_METHOD_FOR_P6_LINES - 1},
+  {MIN_METHOD_FOR_P6_LINES, MAX_SUPPORTED_CONSENSUS_METHOD},
+  {-1, -1}
+};
 
 static void directory_remove_invalid(void);
 static cached_dir_t *dirserv_regenerate_directory(void);





More information about the tor-commits mailing list