aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-11-01 13:05:45 -0400
committerNick Mathewson <nickm@torproject.org>2016-11-01 13:05:45 -0400
commitcb35a7c2718eef6411ff49f3bc7b20418bfddcd2 (patch)
tree90eed0cdb8259f98a33f12597e978794988ad980 /src/or/networkstatus.c
parentdb67867a81c18901b161d23696bbecf965107089 (diff)
parent733b2452836dffdf6fbb64c77fd168e24f278d55 (diff)
downloadtor-cb35a7c2718eef6411ff49f3bc7b20418bfddcd2.tar.gz
tor-cb35a7c2718eef6411ff49f3bc7b20418bfddcd2.zip
Merge branch 'maint-0.2.9'
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 85a73c8e63..ed888fb53e 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -2386,10 +2386,10 @@ client_would_use_router(const routerstatus_t *rs, time_t now,
/* We'd drop it immediately for being too old. */
return 0;
}
- if (!routerstatus_version_supports_ntor(rs, 1)) {
- /* We'd ignore it because it doesn't support ntor.
+ if (!routerstatus_version_supports_extend2_cells(rs, 1)) {
+ /* We'd ignore it because it doesn't support EXTEND2 cells.
* If we don't know the version, download the descriptor so we can
- * check if it supports ntor. */
+ * check if it supports EXTEND2 cells and ntor. */
return 0;
}
return 1;