mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-20 04:12:13 +02:00
don't warn when ExitRelay is set to 0
This commit is contained in:
parent
cec6f9919d
commit
8fafdca11e
@ -1151,8 +1151,8 @@ options_validate_relay_mode(const or_options_t *old_options,
|
||||
REJECT("BridgeRelay is 1, ORPort is not set. This is an invalid "
|
||||
"combination.");
|
||||
|
||||
if (options->BridgeRelay == 1 && (options->ExitRelay == 1 ||
|
||||
!policy_using_default_exit_options(options))) {
|
||||
if (options->BridgeRelay == 1 && !(options->ExitRelay == 0 ||
|
||||
policy_using_default_exit_options(options))) {
|
||||
log_warn(LD_CONFIG, "BridgeRelay is 1, but ExitRelay is 1 or an "
|
||||
"ExitPolicy is configured. Tor will start, but it will not "
|
||||
"function as an exit relay.");
|
||||
|
Loading…
Reference in New Issue
Block a user