aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/relay_periodic.c
diff options
context:
space:
mode:
authorteor <teor@riseup.net>2020-05-07 20:07:13 +1000
committerteor <teor@riseup.net>2020-05-07 20:07:13 +1000
commit05c56ae455de1f8e1dc9816ab9dcd7f0cdc2c994 (patch)
treeeb5e6f815ebd3fc039365174c0df30f3d07669ee /src/feature/relay/relay_periodic.c
parent4a36dfebee080ccd56501042b2943c114544d7eb (diff)
downloadtor-05c56ae455de1f8e1dc9816ab9dcd7f0cdc2c994.tar.gz
tor-05c56ae455de1f8e1dc9816ab9dcd7f0cdc2c994.zip
Replace several C identifiers.
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ router_skip_orport_reachability_check router_should_skip_orport_reachability_check \ router_skip_dirport_reachability_check router_should_skip_dirport_reachability_check \ router_connect_assume_or_reachable client_or_conn_should_skip_reachable_address_check \ router_connect_assume_dir_reachable client_dir_conn_should_skip_reachable_address_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.
Diffstat (limited to 'src/feature/relay/relay_periodic.c')
-rw-r--r--src/feature/relay/relay_periodic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/relay/relay_periodic.c b/src/feature/relay/relay_periodic.c
index c8b6a7d80a..2b6be1ce1d 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 && !router_skip_orport_reachability_check(options)) {
+ if (me && !router_should_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 && !router_skip_dirport_reachability_check(options)) {
+ if (me && !router_should_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 "