From 636cf9763a7a0406c15ff9fc7f068aa574d22e5f Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 24 Jun 2020 13:25:49 -0400 Subject: 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 --- src/feature/control/control_getinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/feature/control') diff --git a/src/feature/control/control_getinfo.c b/src/feature/control/control_getinfo.c index c2557e164c..8d6c314b43 100644 --- a/src/feature/control/control_getinfo.c +++ b/src/feature/control/control_getinfo.c @@ -1283,13 +1283,13 @@ getinfo_helper_events(control_connection_t *control_conn, "1" : "0"); } else if (!strcmp(question, "status/reachability-succeeded/dir")) { *answer = tor_strdup( - router_should_skip_dirport_reachability_check(options) ? + router_dirport_seems_reachable(options) ? "1" : "0"); } else if (!strcmp(question, "status/reachability-succeeded")) { tor_asprintf( answer, "OR=%d DIR=%d", router_should_skip_orport_reachability_check(options) ? 1 : 0, - router_should_skip_dirport_reachability_check(options) ? 1 : 0); + router_dirport_seems_reachable(options) ? 1 : 0); } else if (!strcmp(question, "status/bootstrap-phase")) { *answer = control_event_boot_last_msg(); } else if (!strcmpstart(question, "status/version/")) { -- cgit v1.2.3-54-g00ecf