aboutsummaryrefslogtreecommitdiff
path: root/src/or/routerlist.h
diff options
context:
space:
mode:
authorteor <teor2345@gmail.com>2016-10-27 15:53:49 +1100
committerteor <teor2345@gmail.com>2016-10-31 17:02:21 +1100
commit3158777d35d8e03fdd77d9c227c2d04538d5fff3 (patch)
treea22123957ec76a74c7d4a29621d82de62a2d68a8 /src/or/routerlist.h
parentd81f2b5d81814b296e04e1964acf7eed79327970 (diff)
downloadtor-3158777d35d8e03fdd77d9c227c2d04538d5fff3.tar.gz
tor-3158777d35d8e03fdd77d9c227c2d04538d5fff3.zip
Rename routerstatus_version_supports_ntor to *_supports_extend2_cells
This helps avoid the confusion that caused bug 20472. Bugfix on commit 10aa913 from #19163 in tor-0.2.9.3-alpha.
Diffstat (limited to 'src/or/routerlist.h')
-rw-r--r--src/or/routerlist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.h b/src/or/routerlist.h
index 47e5445e57..606e9085ce 100644
--- a/src/or/routerlist.h
+++ b/src/or/routerlist.h
@@ -207,8 +207,8 @@ int routerinfo_incompatible_with_extrainfo(const crypto_pk_t *ri,
signed_descriptor_t *sd,
const char **msg);
int routerinfo_has_curve25519_onion_key(const routerinfo_t *ri);
-int routerstatus_version_supports_ntor(const routerstatus_t *rs,
- int allow_unknown_versions);
+int routerstatus_version_supports_extend2_cells(const routerstatus_t *rs,
+ int allow_unknown_versions);
void routerlist_assert_ok(const routerlist_t *rl);
const char *esc_router_info(const routerinfo_t *router);