From 38649b4f9522d5fc2b186d2a02cefb9abaefc519 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Wed, 17 Feb 2021 11:00:14 -0500 Subject: 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 --- src/feature/stats/predict_ports.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/feature/stats') diff --git a/src/feature/stats/predict_ports.c b/src/feature/stats/predict_ports.c index 57463952e7..b9c8a0662e 100644 --- a/src/feature/stats/predict_ports.c +++ b/src/feature/stats/predict_ports.c @@ -273,8 +273,6 @@ rep_hist_circbuilding_dormant(time_t now) (!router_all_orports_seem_reachable(options) || !circuit_enough_testing_circs())) return 0; - if (!router_dirport_seems_reachable(options)) - return 0; return 1; } -- cgit v1.2.3-54-g00ecf