aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.socks.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/torrc.socks.erb')
-rw-r--r--templates/torrc.socks.erb10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/torrc.socks.erb b/templates/torrc.socks.erb
index caf750d..4bc3ddc 100644
--- a/templates/torrc.socks.erb
+++ b/templates/torrc.socks.erb
@@ -1,9 +1,9 @@
# socks
-SocksPort <%= port %>
-<%- for listen_address in listen_addresses -%>
+SocksPort <%= @port %>
+<% @listen_addresses.each do |listen_address| -%>
SocksListenAddress <%= listen_address %>
-<%- end -%>
-<%- for policy in policies -%>
+<% end -%>
+<% @policies.each do |policy| -%>
SocksPolicy <%= policy %>
-<%- end -%>
+<% end -%>