diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-09-21 02:38:51 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-09-21 02:38:51 +0000 |
commit | 72915546cde4bbab7683c9cb526fb36b19ada982 (patch) | |
tree | 9aa9b79ba18c6222fa0edb5713090a43430a9085 /src/or/routerparse.c | |
parent | 20b91112667dec2bb0f031d45a5146fe1831ecef (diff) | |
download | tor-72915546cde4bbab7683c9cb526fb36b19ada982.tar tor-72915546cde4bbab7683c9cb526fb36b19ada982.tar.gz |
Only check versions from versioning authdirs.
svn:r5101
Diffstat (limited to 'src/or/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index fe5293012..5ddfbb601 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -1077,7 +1077,6 @@ networkstatus_parse_from_string(const char *s) log_fn(LOG_WARN, "Couldn't find network-status-version keyword"); goto err; } - /* XXXX011 do something with the version! NM */ if (!(tok = find_first_by_keyword(tokens, K_DIR_SOURCE))) { log_fn(LOG_WARN, "Couldn't find dir-source keyword"); @@ -1144,7 +1143,7 @@ networkstatus_parse_from_string(const char *s) } } - if (ns->recommends_versions || 1) { //XXXX NM re-enable conditional. + if (ns->recommends_versions) { if (!(tok = find_first_by_keyword(tokens, K_CLIENT_VERSIONS)) || tok->n_args<1) { log_fn(LOG_WARN, "Missing client-versions"); |