diff options
author | teor <teor@torproject.org> | 2020-04-30 15:11:50 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-04-30 15:58:37 +1000 |
commit | c5ee3d7eb8c337703498b8c41b0c286ddd3cf9b4 (patch) | |
tree | ce7c835c3b1a26dc272f709896eba92e4288722f /src/feature/relay/relay_periodic.c | |
parent | a202f03c64c7655fcc8d3fa72bc39deeac198687 (diff) | |
download | tor-c5ee3d7eb8c337703498b8c41b0c286ddd3cf9b4.tar.gz tor-c5ee3d7eb8c337703498b8c41b0c286ddd3cf9b4.zip |
relay: Clarify reachability status check functions
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
check_whether_orport_reachable router_skip_orport_reachability_check \
check_whether_dirport_reachable router_skip_dirport_reachability_check
It was generated with --no-verify, so it probably breaks some commit hooks.
The commiter should be sure to fix them up in a subsequent commit.
Part of 33222.
Diffstat (limited to 'src/feature/relay/relay_periodic.c')
-rw-r--r-- | src/feature/relay/relay_periodic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/relay/relay_periodic.c b/src/feature/relay/relay_periodic.c index b751323e0d..c8b6a7d80a 100644 --- a/src/feature/relay/relay_periodic.c +++ b/src/feature/relay/relay_periodic.c @@ -201,7 +201,7 @@ reachability_warnings_callback(time_t now, const or_options_t *options) have_completed_a_circuit()) { /* every 20 minutes, check and complain if necessary */ const routerinfo_t *me = router_get_my_routerinfo(); - if (me && !check_whether_orport_reachable(options)) { + if (me && !router_skip_orport_reachability_check(options)) { char *address = tor_dup_ip(me->addr); log_warn(LD_CONFIG,"Your server (%s:%d) has not managed to confirm that " "its ORPort is reachable. Relays do not publish descriptors " @@ -214,7 +214,7 @@ reachability_warnings_callback(time_t now, const or_options_t *options) tor_free(address); } - if (me && !check_whether_dirport_reachable(options)) { + if (me && !router_skip_dirport_reachability_check(options)) { char *address = tor_dup_ip(me->addr); log_warn(LD_CONFIG, "Your server (%s:%d) has not managed to confirm that its " |