diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-09 14:44:03 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-22 20:00:47 -0400 |
commit | 08373467b10a3e3c4765835d1820f86741b9f307 (patch) | |
tree | 39a2e2e01c4d5bd290009137c22e34292f5e4833 /src/or/networkstatus.c | |
parent | 69347f48e00ae31222ce10d66c507293954e4fcc (diff) | |
download | tor-08373467b10a3e3c4765835d1820f86741b9f307.tar.gz tor-08373467b10a3e3c4765835d1820f86741b9f307.zip |
Remove MIN_METHOD_FOR and MIN_METHOD_FOR_A_LINES
Also, in networkstatus.c, remove client code for recognizing pre-
MIN_METHOD_FOR_A_LINES consensuses, and corresponding unit tests in
test_dir.c.
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 235b95b704..d7088a1670 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -1528,7 +1528,7 @@ networkstatus_consensus_has_ipv6(const or_options_t* options) return cons->consensus_method >= MIN_METHOD_FOR_A_LINES_IN_MICRODESC_CONSENSUS; } else { - return cons->consensus_method >= MIN_METHOD_FOR_A_LINES; + return 1; } } |