commit 42e765efad79d1615f27614d25b7fa062a78684e
parent d1c52e585b1d277b262303a6a73300ada18159ce
Author: teor <teor@torproject.org>
Date: Thu, 30 Apr 2020 15:08:57 +1000
relay: Minor selftest comment updates
Part of 33222.
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/feature/relay/selftest.c b/src/feature/relay/selftest.c
@@ -107,6 +107,7 @@ router_should_check_reachability(int test_or, int test_dir)
if (!me)
return 0;
+ /* Doesn't check our IPv6 address, see #34065. */
if (routerset_contains_router(options->ExcludeNodes, me, -1) &&
options->StrictNodes) {
/* If we've excluded ourself, and StrictNodes is set, we can't test
@@ -136,7 +137,8 @@ extend_info_from_router(const routerinfo_t *r)
tor_addr_port_t ap;
tor_assert(r);
- /* Make sure we don't need to check address reachability */
+ /* Relays always assume that the first hop is reachable. They ignore
+ * ReachableAddresses. */
tor_assert_nonfatal(router_connect_assume_or_reachable(get_options(), 0));
const ed25519_public_key_t *ed_id_key;