commit 00e781142b919476fd1ea594ac36b08147c20ede Author: Nick Mathewson <ni...@torproject.org> Date: Tue Oct 31 13:22:28 2017 -0400
Don't give "exitrelay may become 0 when no policy" warning on ReducedExitPolicy --- src/or/policies.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/or/policies.c b/src/or/policies.c index 0dfbd9209..1f8013071 100644 --- a/src/or/policies.c +++ b/src/or/policies.c @@ -1145,7 +1145,7 @@ validate_addr_policies(const or_options_t *options, char **msg) "to 1 to disable this warning, and for forward compatibility.", options->ExitPolicy == NULL ? " with the default exit policy" : ""); - if (options->ExitPolicy == NULL) { + if (options->ExitPolicy == NULL && options->ReducedExitPolicy == 0) { log_warn(LD_CONFIG, "In a future version of Tor, ExitRelay 0 may become the " "default when no ExitPolicy is given."); _______________________________________________ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits