summaryrefslogtreecommitdiff
path: root/src/feature/relay/selftest.h
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/selftest.h
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/selftest.h')
-rw-r--r--src/feature/relay/selftest.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/feature/relay/selftest.h b/src/feature/relay/selftest.h
index 9b7005db39..911d8bdc3f 100644
--- a/src/feature/relay/selftest.h
+++ b/src/feature/relay/selftest.h
@@ -15,7 +15,7 @@
#ifdef HAVE_MODULE_RELAY
struct or_options_t;
-#define router_should_skip_orport_reachability_check(opts) \
+#define router_all_orports_seem_reachable(opts) \
router_orport_seems_reachable((opts),0)
int router_orport_seems_reachable(
const struct or_options_t *options,
@@ -34,7 +34,7 @@ void router_reset_reachability(void);
#else /* !defined(HAVE_MODULE_RELAY) */
-#define router_should_skip_orport_reachability_check(opts) \
+#define router_all_orports_seem_reachable(opts) \
((void)(opts), 0)
#define router_orport_seems_reachable(opts, fam) \
((void)(opts), (void)(fam), 0)