]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Actually generate microdescriptors with p6 lines.
authorNick Mathewson <nickm@torproject.org>
Tue, 6 Nov 2012 17:12:59 +0000 (12:12 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 15 Nov 2012 04:16:40 +0000 (23:16 -0500)
src/or/dirserv.c

index 1d63be03c89dc2f637908b6ccf60693ab4c99c0a..c1ddf73ee4dd050b757b11da4b213b882766ec5e 100644 (file)
@@ -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);