summaryrefslogtreecommitdiff
path: root/src/feature/relay/selftest.c
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-04-30 22:33:06 +1000
committerteor <teor@torproject.org>2020-04-30 23:27:38 +1000
commit4969dee10254548d6f3718afe74496bfa0601063 (patch)
tree5ab577af635b50a77099b0e8b1057c49709e76e0 /src/feature/relay/selftest.c
parentaade9f31e7a578a78d359be65f5a3805801bf329 (diff)
downloadtor-4969dee10254548d6f3718afe74496bfa0601063.tar.gz
tor-4969dee10254548d6f3718afe74496bfa0601063.zip
relay: Update some self-test comments for IPv6
Part of 33222.
Diffstat (limited to 'src/feature/relay/selftest.c')
-rw-r--r--src/feature/relay/selftest.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/feature/relay/selftest.c b/src/feature/relay/selftest.c
index d19eb00d4c..4a8ecdd94f 100644
--- a/src/feature/relay/selftest.c
+++ b/src/feature/relay/selftest.c
@@ -328,6 +328,7 @@ router_orport_found_reachable(void)
if (options->TestingTorNetwork == 1) {
reschedule_descriptor_update_check();
}
+ /* We'll add an IPv6 event in #34068. */
control_event_server_status(LOG_NOTICE,
"REACHABILITY_SUCCEEDED ORADDRESS=%s:%d",
address, me->or_port);
@@ -365,7 +366,9 @@ router_dirport_found_reachable(void)
}
/** We have enough testing circuits open. Send a bunch of "drop"
- * cells down each of them, to exercise our bandwidth. */
+ * cells down each of them, to exercise our bandwidth.
+ *
+ * May use IPv4 and IPv6 testing circuits (if available). */
void
router_perform_bandwidth_test(int num_circs, time_t now)
{