mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
make ipv6-only config complaint clearer
(a relay operator hit this on #tor-relays and couldn't make sense of it. i couldn't either until i went to go read the code.)
This commit is contained in:
parent
9f0e8d8c03
commit
776c1a5d1a
@ -7565,8 +7565,8 @@ check_server_ports(const smartlist_t *ports,
|
||||
}
|
||||
if (n_orport_advertised && !n_orport_advertised_ipv4 &&
|
||||
!options->BridgeRelay) {
|
||||
log_warn(LD_CONFIG, "Configured non-bridge only to listen on an IPv6 "
|
||||
"address.");
|
||||
log_warn(LD_CONFIG, "Configured public relay to listen only on an IPv6 "
|
||||
"address. Tor needs to listen on an IPv4 address too.");
|
||||
r = -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user