]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
make ipv6-only config complaint clearer
authorRoger Dingledine <arma@torproject.org>
Sat, 8 Sep 2018 21:08:22 +0000 (17:08 -0400)
committerRoger Dingledine <arma@torproject.org>
Sat, 8 Sep 2018 21:08:22 +0000 (17:08 -0400)
(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

index 5f46751f939b03212322c73e46f576d69aa7ff4e..b3a6e57fa8ef882911102b51d97b2d27b19280f3 100644 (file)
@@ -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;
   }