summaryrefslogtreecommitdiff
path: root/src/feature/relay/router.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-06-24 14:39:01 -0400
committerNick Mathewson <nickm@torproject.org>2020-06-24 15:25:17 -0400
commitf9de0affd3f50d411e04bc1229525af2a14927fd (patch)
tree4e91733870b862aa6081d7de4530b3db5908ed2a /src/feature/relay/router.c
parent5c5fb0fcca504d319276a697fec43287e242765d (diff)
downloadtor-f9de0affd3f50d411e04bc1229525af2a14927fd.tar.gz
tor-f9de0affd3f50d411e04bc1229525af2a14927fd.zip
Rename router_should_skip_orport_reachability_check.
This was supposed to happen in #40012, but the command line was wrong. This is an automated commit, generated by this command: ./scripts/maint/rename_c_identifier.py \ router_should_skip_orport_reachability_check router_all_orports_seem_reachable
Diffstat (limited to 'src/feature/relay/router.c')
-rw-r--r--src/feature/relay/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/feature/relay/router.c b/src/feature/relay/router.c
index 1691ac5f48..1933f61edb 100644
--- a/src/feature/relay/router.c
+++ b/src/feature/relay/router.c
@@ -1363,7 +1363,7 @@ decide_if_publishable_server(void)
return 1;
if (!router_get_advertised_or_port(options))
return 0;
- if (!router_should_skip_orport_reachability_check(options))
+ if (!router_all_orports_seem_reachable(options))
return 0;
if (router_have_consensus_path() == CONSENSUS_PATH_INTERNAL) {
/* All set: there are no exits in the consensus (maybe this is a tiny