[tor-commits] [tor/master] relay: Update some self-test comments for IPv6

nickm at torproject.org nickm at torproject.org
Tue Jun 9 19:45:23 UTC 2020


commit 4969dee10254548d6f3718afe74496bfa0601063
Author: teor <teor at torproject.org>
Date:   Thu Apr 30 22:33:06 2020 +1000

    relay: Update some self-test comments for IPv6
    
    Part of 33222.
---
 src/feature/relay/selftest.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/feature/relay/selftest.c b/src/feature/relay/selftest.c
index d19eb00d4..4a8ecdd94 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)
 {





More information about the tor-commits mailing list