diff options
author | Micah Anderson <micah@riseup.net> | 2018-01-29 12:07:15 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2018-01-29 12:07:15 -0500 |
commit | b1af45d47d3e1441405a9b4b67f44f7d6008486a (patch) | |
tree | e04489f4d3755c91c637ac413596c172300c3aad /templates/torrc.exit_policy.erb | |
parent | 447ba8b809d0df60f9eabdbc6fc2b52cd17ef50b (diff) | |
parent | 90cb24c6e0916b27eae744e5f6ecaa84a180517c (diff) |
Merge branch 'master' into riseup
Diffstat (limited to 'templates/torrc.exit_policy.erb')
-rw-r--r-- | templates/torrc.exit_policy.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/torrc.exit_policy.erb b/templates/torrc.exit_policy.erb index a30d43b..5481914 100644 --- a/templates/torrc.exit_policy.erb +++ b/templates/torrc.exit_policy.erb @@ -2,10 +2,10 @@ <% if @reject_private != '1' -%> ExitPolicyRejectPrivate <%= @reject_private %> <% end -%> -<% @accept.each do |policy| -%> +<% Array(@accept).each do |policy| -%> ExitPolicy accept <%= policy %> <% end -%> -<% @reject.each do |policy| -%> +<% Array(@reject).each do |policy| -%> ExitPolicy reject <%= policy %> <% end -%> |