diff options
Diffstat (limited to 'templates/torrc.exit_policy.erb')
-rw-r--r-- | templates/torrc.exit_policy.erb | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/torrc.exit_policy.erb b/templates/torrc.exit_policy.erb index 65f9d09..a30d43b 100644 --- a/templates/torrc.exit_policy.erb +++ b/templates/torrc.exit_policy.erb @@ -1,11 +1,11 @@ -# exit policies: <%= name %> -<%- if reject_private != '1' then -%> -ExitPolicyRejectPrivate <%= reject_private %> -<%- end -%> -<%- for policy in accept -%> +# exit policies: <%= @name %> +<% if @reject_private != '1' -%> +ExitPolicyRejectPrivate <%= @reject_private %> +<% end -%> +<% @accept.each do |policy| -%> ExitPolicy accept <%= policy %> -<%- end -%> -<%- for policy in reject -%> +<% end -%> +<% @reject.each do |policy| -%> ExitPolicy reject <%= policy %> -<%- end -%> +<% end -%> |