summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-11-06 12:12:59 -0500
committerNick Mathewson <nickm@torproject.org>2012-11-14 23:16:40 -0500
commit1cc77365753a298de6e1706d2faa592f6ed33b95 (patch)
treec3d3e18577d1858909a1a7aa3f119134dfd784d2
parent54ee7ff148dac13644d64e6df02a11efd1b31c08 (diff)
downloadtor-1cc77365753a298de6e1706d2faa592f6ed33b95.tar.gz
tor-1cc77365753a298de6e1706d2faa592f6ed33b95.zip
Actually generate microdescriptors with p6 lines.
-rw-r--r--src/or/dirserv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 1d63be03c8..c1ddf73ee4 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);