aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/selftest.c
diff options
context:
space:
mode:
authorteor <teor@riseup.net>2020-05-07 20:57:14 +1000
committerteor <teor@riseup.net>2020-05-07 20:57:14 +1000
commite887887cd32f9e78e3b6e9c47661eaf750b4c0fb (patch)
treeaffcbc443083bfb85e96449da846886014b701a5 /src/feature/relay/selftest.c
parent0daa1da3ba0ba1dbf2892e042573887f430b32fd (diff)
downloadtor-e887887cd32f9e78e3b6e9c47661eaf750b4c0fb.tar.gz
tor-e887887cd32f9e78e3b6e9c47661eaf750b4c0fb.zip
relay: Clarify a comment in selftest.c
Diffstat (limited to 'src/feature/relay/selftest.c')
-rw-r--r--src/feature/relay/selftest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/feature/relay/selftest.c b/src/feature/relay/selftest.c
index 875bf7a9f8..4bbdeb3b98 100644
--- a/src/feature/relay/selftest.c
+++ b/src/feature/relay/selftest.c
@@ -255,7 +255,10 @@ router_do_reachability_checks(int test_or, int test_dir)
if (router_should_check_reachability(test_or, test_dir)) {
if (test_or && (!orport_reachable || !circuit_enough_testing_circs())) {
- /* We'll separate IPv4 and IPv6 reachability detection in #34067. */
+ /* At the moment, tor relays believe that they are reachable when they
+ * receive any create cell on an inbound connection. We'll do separate
+ * IPv4 and IPv6 reachability checks in #34067, and make them more
+ * precise. */
router_do_orport_reachability_checks(me, AF_INET, orport_reachable);
router_do_orport_reachability_checks(me, AF_INET6, orport_reachable);
}