aboutsummaryrefslogtreecommitdiff
path: root/templates/torrc.dns.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/torrc.dns.erb')
-rw-r--r--templates/torrc.dns.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/torrc.dns.erb b/templates/torrc.dns.erb
index bd1e719..57cf46d 100644
--- a/templates/torrc.dns.erb
+++ b/templates/torrc.dns.erb
@@ -1,5 +1,5 @@
# DNS
-DNSPort <%= port %>
-<%- for listen_address in listen_addresses -%>
+DNSPort <%= @port %>
+<% @listen_addresses.each do |listen_address| -%>
DNSListenAddress <%= listen_address %>
-<%- end -%>
+<% end -%>