aboutsummaryrefslogtreecommitdiff
path: root/src/feature/nodelist/routerlist.c
diff options
context:
space:
mode:
authorteor <teor@riseup.net>2020-05-07 20:17:57 +1000
committerteor <teor@riseup.net>2020-05-07 20:17:57 +1000
commite1eecac88866fa66e9d77c251a31d85131f11aef (patch)
tree91f50591fdbe3be2f5b55acdac53a04d4a982402 /src/feature/nodelist/routerlist.c
parent74902c8aca96dda3178fac768223bcdb9a11f50c (diff)
downloadtor-e1eecac88866fa66e9d77c251a31d85131f11aef.tar.gz
tor-e1eecac88866fa66e9d77c251a31d85131f11aef.zip
Replace several C identifiers.
This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ client_or_conn_should_skip_reachable_address_check router_or_conn_should_skip_reachable_address_check \ client_dir_conn_should_skip_reachable_address_check router_dir_conn_should_skip_reachable_address_check
Diffstat (limited to 'src/feature/nodelist/routerlist.c')
-rw-r--r--src/feature/nodelist/routerlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/feature/nodelist/routerlist.c b/src/feature/nodelist/routerlist.c
index 2a5353c563..e511256268 100644
--- a/src/feature/nodelist/routerlist.c
+++ b/src/feature/nodelist/routerlist.c
@@ -476,7 +476,7 @@ router_reload_router_list(void)
* Finally, return true if ReachableAddresses is set.
*/
int
-client_or_conn_should_skip_reachable_address_check(
+router_or_conn_should_skip_reachable_address_check(
const or_options_t *options,
int try_ip_pref)
{
@@ -492,7 +492,7 @@ client_or_conn_should_skip_reachable_address_check(
* This function is obsolete, because clients only use ORPorts.
*/
int
-client_dir_conn_should_skip_reachable_address_check(
+router_dir_conn_should_skip_reachable_address_check(
const or_options_t *options,
int try_ip_pref)
{
@@ -520,7 +520,7 @@ router_add_running_nodes_to_smartlist(smartlist_t *sl, int need_uptime,
int need_desc, int pref_addr,
int direct_conn)
{
- const int check_reach = !client_or_conn_should_skip_reachable_address_check(
+ const int check_reach = !router_or_conn_should_skip_reachable_address_check(
get_options(),
pref_addr);
/* XXXX MOVE */