aboutsummaryrefslogtreecommitdiff
path: root/src/feature/relay/selftest.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-06-24 13:56:46 -0400
committerNick Mathewson <nickm@torproject.org>2020-06-24 14:00:34 -0400
commit366c6950206d58efaa33b6454e8ca17c96c20d8d (patch)
treea668e1baf9fbd946316fa1173efae90d643e9389 /src/feature/relay/selftest.c
parent4af6e3b4dccf22d6d34b744f5f90c5218a9de6c4 (diff)
downloadtor-366c6950206d58efaa33b6454e8ca17c96c20d8d.tar.gz
tor-366c6950206d58efaa33b6454e8ca17c96c20d8d.zip
Add a control event for launching IPv6 ORPort checks.
Diffstat (limited to 'src/feature/relay/selftest.c')
-rw-r--r--src/feature/relay/selftest.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/feature/relay/selftest.c b/src/feature/relay/selftest.c
index 71054e6e87..589e9a303f 100644
--- a/src/feature/relay/selftest.c
+++ b/src/feature/relay/selftest.c
@@ -353,9 +353,7 @@ inform_testing_reachability(void)
* start reachability tests, or fail to log after we actually started
* reachability tests.
*
- * After we separate the IPv4 and IPv6 reachability flags in #34067, tor
- * will test any IPv6 address that it discovers after launching reachability
- * checks. We'll deal with late disabled IPv6 ORPorts and IPv4 DirPorts, and
+ * We'll deal with late disabled IPv6 ORPorts and IPv4 DirPorts, and
* extra or skipped log messages in #34137.
*/
const routerinfo_t *me = router_get_my_routerinfo();
@@ -374,6 +372,9 @@ inform_testing_reachability(void)
if (has_ipv6) {
strlcpy(ipv6_or_buf, fmt_addrport(&me->ipv6_addr, me->ipv6_orport),
sizeof(ipv6_or_buf));
+ control_event_server_status(LOG_NOTICE,
+ "CHECKING_REACHABILITY ORADDRESS=%s",
+ ipv6_or_buf);
/* We'll add an IPv6 control event in #34068. */
}
/* IPv4 DirPort (there are no advertised IPv6 DirPorts) */