mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
Merge branch 'tor-github/pr/1948'
This commit is contained in:
commit
dc4f3a219f
3
changes/feature34068
Normal file
3
changes/feature34068
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor features (controller, IPv6):
|
||||
- Tor relays now try to report to the controller when they are launching
|
||||
an IPv6 self-test. Closes ticket 34068.
|
@ -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) */
|
||||
|
Loading…
Reference in New Issue
Block a user