Clarify comment about IPv6Exit in policies_parse_exit_policy_from_options()

This commit is contained in:
Neel Chauhan 2019-04-16 08:22:17 -04:00
parent 06c76e79aa
commit ada6732914

View File

@ -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:*");