[tor-commits] [tor/master] make ipv6-only config complaint clearer

arma at torproject.org arma at torproject.org
Sat Sep 8 21:08:54 UTC 2018


commit 776c1a5d1a39e5fd9ba3313730c47b10f25e4d24
Author: Roger Dingledine <arma at torproject.org>
Date:   Sat Sep 8 17:08:22 2018 -0400

    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.)
---
 src/app/config/config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/config/config.c b/src/app/config/config.c
index 5f46751f9..b3a6e57fa 100644
--- a/src/app/config/config.c
+++ b/src/app/config/config.c
@@ -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;
   }
 



More information about the tor-commits mailing list