mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-01 08:03:31 +01:00
Clarify comment about IPv6Exit in policies_parse_exit_policy_from_options()
This commit is contained in:
parent
06c76e79aa
commit
ada6732914
@ -2149,7 +2149,7 @@ policies_parse_exit_policy_from_options(const or_options_t *or_options,
|
|||||||
int rv = 0;
|
int rv = 0;
|
||||||
|
|
||||||
/* Short-circuit for non-exit relays, or for relays where we didn't specify
|
/* Short-circuit for non-exit relays, or for relays where we didn't specify
|
||||||
* ExitPolicy or ReducedExitPolicy and ExitRelay is auto. */
|
* ExitPolicy or ReducedExitPolicy or IPv6Exit and ExitRelay is auto. */
|
||||||
if (or_options->ExitRelay == 0 ||
|
if (or_options->ExitRelay == 0 ||
|
||||||
policy_using_default_exit_options(or_options)) {
|
policy_using_default_exit_options(or_options)) {
|
||||||
append_exit_policy_string(result, "reject *4:*");
|
append_exit_policy_string(result, "reject *4:*");
|
||||||
|
Loading…
Reference in New Issue
Block a user