diff options
author | teor <teor@torproject.org> | 2020-04-30 14:08:04 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-04-30 15:12:27 +1000 |
commit | caab67d0c27ca44344fec05ec445015d9a6c6ff1 (patch) | |
tree | bdb660102fe8b516a291fca542be2f84d23679b6 /src/feature/nodelist/routerlist.h | |
parent | efcae919aea4611d9f4ec5815170c48fc67134cf (diff) | |
download | tor-caab67d0c27ca44344fec05ec445015d9a6c6ff1.tar.gz tor-caab67d0c27ca44344fec05ec445015d9a6c6ff1.zip |
nodelist: Distinguish client and relay reachability
Change some function names to distinguish between:
* client first hop reachability (ReachableAddresses)
* relay port reachability self-tests
This is an automated commit, generated by this command:
./scripts/maint/rename_c_identifier.py \
router_skip_or_reachability router_connect_assume_or_reachable \
router_skip_dir_reachability router_connect_assume_dir_reachable
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/nodelist/routerlist.h')
-rw-r--r-- | src/feature/nodelist/routerlist.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/nodelist/routerlist.h b/src/feature/nodelist/routerlist.h index 81a2343540..56109374fb 100644 --- a/src/feature/nodelist/routerlist.h +++ b/src/feature/nodelist/routerlist.h @@ -50,8 +50,8 @@ typedef enum was_router_added_t { int router_reload_router_list(void); -int router_skip_or_reachability(const or_options_t *options, int try_ip_pref); -int router_skip_dir_reachability(const or_options_t *options, int try_ip_pref); +int router_connect_assume_or_reachable(const or_options_t *options, int try_ip_pref); +int router_connect_assume_dir_reachable(const or_options_t *options, int try_ip_pref); void router_reset_status_download_failures(void); int routers_have_same_or_addrs(const routerinfo_t *r1, const routerinfo_t *r2); void router_add_running_nodes_to_smartlist(smartlist_t *sl, int need_uptime, |