mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 23:53:32 +01:00
Improve the message of validate_pluggable_transports_config().
This commit is contained in:
parent
ab338e3bb8
commit
9d9b5ed0c6
@ -4802,10 +4802,11 @@ validate_pluggable_transports_config(void)
|
|||||||
pluggable transports. We should warn the user in such case,
|
pluggable transports. We should warn the user in such case,
|
||||||
since it's probably misconfiguration. */
|
since it's probably misconfiguration. */
|
||||||
if (!transport_get_by_name(b->transport_name))
|
if (!transport_get_by_name(b->transport_name))
|
||||||
log_warn(LD_CONFIG, "You have a Bridge line using the %s "
|
log_warn(LD_CONFIG, "We can't find a pluggable transport proxy "
|
||||||
"pluggable transport, but there doesn't seem to be a "
|
"that supports '%s' for bridge '%s:%u'. This can happen "
|
||||||
"corresponding ClientTransportPlugin line.",
|
"if you haven't provided a ClientTransportPlugin line, or "
|
||||||
b->transport_name);
|
"if your pluggable transport proxy stopped working.",
|
||||||
|
b->transport_name, fmt_addr(&b->addr), b->port);
|
||||||
} SMARTLIST_FOREACH_END(b);
|
} SMARTLIST_FOREACH_END(b);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user