aboutsummaryrefslogtreecommitdiff
path: root/src/feature/stats
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-06-24 13:25:49 -0400
committerNick Mathewson <nickm@torproject.org>2020-06-24 13:25:49 -0400
commit636cf9763a7a0406c15ff9fc7f068aa574d22e5f (patch)
tree7f504f7abd6a50735161f90303a98df683fd1979 /src/feature/stats
parentbc50f082bd3a84156dd12db9e2186fd083b216c1 (diff)
downloadtor-636cf9763a7a0406c15ff9fc7f068aa574d22e5f.tar.gz
tor-636cf9763a7a0406c15ff9fc7f068aa574d22e5f.zip
Replace router_should_skip_*() identifiers.
These identifiers are confusing and unreadable. I think these replacements should be better. Closes ticket #40012. This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ router_should_skip_orport_reachability_check_family router_orport_seems_reachable \ router_should_skip_dirport_reachability_check router_dirport_seems_reachable \ router_should_skip_dirport_reachability_check router_all_orports_seem_reachable
Diffstat (limited to 'src/feature/stats')
-rw-r--r--src/feature/stats/predict_ports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/stats/predict_ports.c b/src/feature/stats/predict_ports.c
index 440cea6725..37f7f4c583 100644
--- a/src/feature/stats/predict_ports.c
+++ b/src/feature/stats/predict_ports.c
@@ -273,7 +273,7 @@ rep_hist_circbuilding_dormant(time_t now)
(!router_should_skip_orport_reachability_check(options) ||
!circuit_enough_testing_circs()))
return 0;
- if (!router_should_skip_dirport_reachability_check(options))
+ if (!router_dirport_seems_reachable(options))
return 0;
return 1;