aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/circuitbuild.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2021-02-17 11:00:14 -0500
committerDavid Goulet <dgoulet@torproject.org>2021-02-22 08:52:06 -0500
commit38649b4f9522d5fc2b186d2a02cefb9abaefc519 (patch)
treefe48cc31653b7178c3566e28786c2c9ea565f075 /src/core/or/circuitbuild.c
parentc0589d06be698ea864e2c58e40ffda0f228440d4 (diff)
downloadtor-38649b4f9522d5fc2b186d2a02cefb9abaefc519.tar.gz
tor-38649b4f9522d5fc2b186d2a02cefb9abaefc519.zip
relay: Remove dirport reachability self test
Regular relays are about to get their DirPort removed so that reachability test is not useful anymore Authorities will still use the DirPort but because network reentry towards their DirPort is now denied network wide, this test is not useful anymore and so it should simply be considered reachable at all time. Part of #40282 Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/core/or/circuitbuild.c')
-rw-r--r--src/core/or/circuitbuild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/or/circuitbuild.c b/src/core/or/circuitbuild.c
index 03af7e3e82..fa06d9c7a0 100644
--- a/src/core/or/circuitbuild.c
+++ b/src/core/or/circuitbuild.c
@@ -1069,7 +1069,7 @@ circuit_build_no_more_hops(origin_circuit_t *circ)
clear_broken_connection_map(1);
if (server_mode(options) &&
!router_all_orports_seem_reachable(options)) {
- router_do_reachability_checks(1, 1);
+ router_do_reachability_checks();
}
}