diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-06-24 13:25:49 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-06-24 13:25:49 -0400 |
commit | 636cf9763a7a0406c15ff9fc7f068aa574d22e5f (patch) | |
tree | 7f504f7abd6a50735161f90303a98df683fd1979 /src/feature/control | |
parent | bc50f082bd3a84156dd12db9e2186fd083b216c1 (diff) | |
download | tor-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/control')
-rw-r--r-- | src/feature/control/control_getinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
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/")) { |