mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Log the offending policy, not the first policy
svn:r3394
This commit is contained in:
parent
8b19e8154a
commit
8115ca5f99
@ -1096,7 +1096,7 @@ exit_policy_implicitly_allows_local_networks(addr_policy_t *policy,
|
||||
policy, private_networks[i].addr, private_networks[i].mask, &p)) {
|
||||
if (warn)
|
||||
log_fn(LOG_WARN, "Exit policy %s implicitly accepts %s",
|
||||
policy?policy->string:"(default)",
|
||||
p?p->string:"(default)",
|
||||
private_networks[i].network);
|
||||
r = 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user