mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Merge remote-tracking branch 'linus/bug6880'
This commit is contained in:
commit
5dfec9f833
3
changes/bug6880
Normal file
3
changes/bug6880
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
o Minor bugfixes:
|
||||||
|
- Don't do reachability testing over IPv6 unless
|
||||||
|
AuthDirPublishIPv6 is set. Fix for bug 6880.
|
@ -3416,7 +3416,8 @@ dirserv_single_reachability_test(time_t now, routerinfo_t *router)
|
|||||||
router->cache_info.identity_digest);
|
router->cache_info.identity_digest);
|
||||||
|
|
||||||
/* Possible IPv6. */
|
/* Possible IPv6. */
|
||||||
if (!tor_addr_is_null(&router->ipv6_addr)) {
|
if (get_options()->AuthDirHasIPv6Connectivity == 1 &&
|
||||||
|
!tor_addr_is_null(&router->ipv6_addr)) {
|
||||||
char addrstr[TOR_ADDR_BUF_LEN];
|
char addrstr[TOR_ADDR_BUF_LEN];
|
||||||
log_debug(LD_OR, "Testing reachability of %s at %s:%u.",
|
log_debug(LD_OR, "Testing reachability of %s at %s:%u.",
|
||||||
router->nickname,
|
router->nickname,
|
||||||
|
Loading…
Reference in New Issue
Block a user