]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Improve the message of validate_pluggable_transports_config().
authorGeorge Kadianakis <desnacked@riseup.net>
Wed, 11 Apr 2012 23:27:58 +0000 (01:27 +0200)
committerGeorge Kadianakis <desnacked@riseup.net>
Wed, 11 Apr 2012 23:27:58 +0000 (01:27 +0200)
src/or/circuitbuild.c

index 1c7367a3fc9b6098b6072f153b8bddf87e45c520..359771ea8db8c6d7b20b0f45d27e9e642e00a405 100644 (file)
@@ -4802,10 +4802,11 @@ validate_pluggable_transports_config(void)
          pluggable transports. We should warn the user in such case,
          since it's probably misconfiguration. */
       if (!transport_get_by_name(b->transport_name))
-        log_warn(LD_CONFIG, "You have a Bridge line using the %s "
-                 "pluggable transport, but there doesn't seem to be a "
-                 "corresponding ClientTransportPlugin line.",
-                 b->transport_name);
+        log_warn(LD_CONFIG, "We can't find a pluggable transport proxy "
+                 "that supports '%s' for bridge '%s:%u'. This can happen "
+                 "if you haven't provided a ClientTransportPlugin line, or "
+                 "if your pluggable transport proxy stopped working.",
+                 b->transport_name, fmt_addr(&b->addr), b->port);
     } SMARTLIST_FOREACH_END(b);
 
     return 0;