aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/selftest.c
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-04-30 14:08:04 +1000
committerteor <teor@torproject.org>2020-04-30 15:12:27 +1000
commitcaab67d0c27ca44344fec05ec445015d9a6c6ff1 (patch)
treebdb660102fe8b516a291fca542be2f84d23679b6 /src/feature/relay/selftest.c
parentefcae919aea4611d9f4ec5815170c48fc67134cf (diff)
downloadtor-caab67d0c27ca44344fec05ec445015d9a6c6ff1.tar.gz
tor-caab67d0c27ca44344fec05ec445015d9a6c6ff1.zip
nodelist: Distinguish client and relay reachability
Change some function names to distinguish between: * client first hop reachability (ReachableAddresses) * relay port reachability self-tests This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ router_skip_or_reachability router_connect_assume_or_reachable \ router_skip_dir_reachability router_connect_assume_dir_reachable It was generated with --no-verify, so it probably breaks some commit hooks. The commiter should be sure to fix them up in a subsequent commit. Part of 33222.
Diffstat (limited to 'src/feature/relay/selftest.c')
-rw-r--r--src/feature/relay/selftest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/relay/selftest.c b/src/feature/relay/selftest.c
index 402ce0e3d3..0088ce0190 100644
--- a/src/feature/relay/selftest.c
+++ b/src/feature/relay/selftest.c
@@ -137,7 +137,7 @@ extend_info_from_router(const routerinfo_t *r)
tor_assert(r);
/* Make sure we don't need to check address reachability */
- tor_assert_nonfatal(router_skip_or_reachability(get_options(), 0));
+ tor_assert_nonfatal(router_connect_assume_or_reachable(get_options(), 0));
const ed25519_public_key_t *ed_id_key;
if (r->cache_info.signing_key_cert)