diff options
author | Fernando Fernandez Mancera <ffmancera@riseup.net> | 2018-01-24 20:07:49 +0100 |
---|---|---|
committer | Fernando Fernandez Mancera <ffmancera@riseup.net> | 2018-01-24 20:19:24 +0100 |
commit | 5ea993fa5a38353900f9cef3b31f695fc70679b5 (patch) | |
tree | bc1a86df8794686a6d88bb791fcad96ed4cf0260 /src/or/circuituse.c | |
parent | 48a51c5f8b80a359da31bc5aaac8ecd25890fe0d (diff) | |
download | tor-5ea993fa5a38353900f9cef3b31f695fc70679b5.tar.gz tor-5ea993fa5a38353900f9cef3b31f695fc70679b5.zip |
Clarify directory and ORPort checking functions.
In order to make the OR and dir checking functions in router.c less confusing
we renamed some functions and splitted consider_testing_reachability() into
router_should_check_reachability() and router_do_reachability_checks(). Also we
improved the documentation.
Fixes #18918.
Signed-off-by: Fernando Fernandez Mancera <ffmancera@riseup.net>
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 5f9567ea16..d7d7e82336 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -1630,7 +1630,7 @@ circuit_testing_opened(origin_circuit_t *circ) router_perform_bandwidth_test(NUM_PARALLEL_TESTING_CIRCS, time(NULL)); have_performed_bandwidth_test = 1; } else - consider_testing_reachability(1, 0); + router_do_reachability_checks(1, 0); } /** A testing circuit has failed to build. Take whatever stats we want. */ |