[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Clarify comment about IPv6Exit in policies_parse_exit_policy_from_options()
commit ada673291402d1e015e79cadca67c0bdd31b4019
Author: Neel Chauhan <neel@xxxxxxxxx>
Date: Tue Apr 16 08:22:17 2019 -0400
Clarify comment about IPv6Exit in policies_parse_exit_policy_from_options()
---
src/core/or/policies.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/or/policies.c b/src/core/or/policies.c
index 41d221b19..f59894ea8 100644
--- a/src/core/or/policies.c
+++ b/src/core/or/policies.c
@@ -2149,7 +2149,7 @@ policies_parse_exit_policy_from_options(const or_options_t *or_options,
int rv = 0;
/* 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 ||
policy_using_default_exit_options(or_options)) {
append_exit_policy_string(result, "reject *4:*");
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits