aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/circuituse.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-06-24 14:39:01 -0400
committerNick Mathewson <nickm@torproject.org>2020-06-24 15:25:17 -0400
commitf9de0affd3f50d411e04bc1229525af2a14927fd (patch)
tree4e91733870b862aa6081d7de4530b3db5908ed2a /src/core/or/circuituse.c
parent5c5fb0fcca504d319276a697fec43287e242765d (diff)
downloadtor-f9de0affd3f50d411e04bc1229525af2a14927fd.tar.gz
tor-f9de0affd3f50d411e04bc1229525af2a14927fd.zip
Rename router_should_skip_orport_reachability_check.
This was supposed to happen in #40012, but the command line was wrong. This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ router_should_skip_orport_reachability_check router_all_orports_seem_reachable
Diffstat (limited to 'src/core/or/circuituse.c')
-rw-r--r--src/core/or/circuituse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/or/circuituse.c b/src/core/or/circuituse.c
index 7358817531..f4cd4ced43 100644
--- a/src/core/or/circuituse.c
+++ b/src/core/or/circuituse.c
@@ -1642,7 +1642,7 @@ static void
circuit_testing_opened(origin_circuit_t *circ)
{
if (have_performed_bandwidth_test ||
- !router_should_skip_orport_reachability_check(get_options())) {
+ !router_all_orports_seem_reachable(get_options())) {
/* either we've already done everything we want with testing circuits,
* or this testing circuit became open due to a fluke, e.g. we picked
* a last hop where we already had the connection open due to an
@@ -1661,7 +1661,7 @@ circuit_testing_failed(origin_circuit_t *circ, int at_last_hop)
{
const or_options_t *options = get_options();
if (server_mode(options) &&
- router_should_skip_orport_reachability_check(options))
+ router_all_orports_seem_reachable(options))
return;
log_info(LD_GENERAL,