aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 56e2385ebe..0a03f13a56 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -5536,11 +5536,11 @@ routerstatus_version_supports_ntor(const routerstatus_t *rs,
return allow_unknown_versions;
}
- if (!rs->version_known) {
+ if (!rs->version_known && !rs->protocols_known) {
return allow_unknown_versions;
}
- return rs->version_supports_extend2_cells;
+ return rs->supports_extend2_cells;
}
/** Assert that the internal representation of <b>rl</b> is