summaryrefslogtreecommitdiff
path: root/src/or/routerparse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2012-09-07 23:21:18 -0400
committerNick Mathewson <nickm@torproject.org>2012-09-07 23:21:18 -0400
commit7988596f66874fd36d1c99bf39736e4b41609a6b (patch)
tree8bdd66158567b2102cfbd6b4f84c536b2efb7c7a /src/or/routerparse.c
parent2cde6658b5998561e9e8a9377976db87690a2387 (diff)
downloadtor-7988596f66874fd36d1c99bf39736e4b41609a6b.tar.gz
tor-7988596f66874fd36d1c99bf39736e4b41609a6b.zip
Remove version_supports checks for versions before 0.2.2.
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r--src/or/routerparse.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index 7bee08434f..6b94c6bfdd 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -2146,20 +2146,9 @@ routerstatus_parse_entry_from_string(memarea_t *area,
tor_assert(tok->n_args == 1);
rs->version_known = 1;
if (strcmpstart(tok->args[0], "Tor ")) {
- rs->version_supports_begindir = 1;
- rs->version_supports_extrainfo_upload = 1;
- rs->version_supports_conditional_consensus = 1;
rs->version_supports_microdesc_cache = 1;
rs->version_supports_optimistic_data = 1;
} else {
- rs->version_supports_begindir =
- tor_version_as_new_as(tok->args[0], "0.2.0.1-alpha");
- rs->version_supports_extrainfo_upload =
- tor_version_as_new_as(tok->args[0], "0.2.0.0-alpha-dev (r10070)");
- rs->version_supports_v3_dir =
- tor_version_as_new_as(tok->args[0], "0.2.0.8-alpha");
- rs->version_supports_conditional_consensus =
- tor_version_as_new_as(tok->args[0], "0.2.1.1-alpha");
rs->version_supports_microdesc_cache =
tor_version_supports_microdescriptors(tok->args[0]);
rs->version_supports_optimistic_data =