summaryrefslogtreecommitdiff
path: root/templates/torrc.directory.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/torrc.directory.erb')
-rw-r--r--templates/torrc.directory.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/torrc.directory.erb b/templates/torrc.directory.erb
index c7dc4ab..2eaffb7 100644
--- a/templates/torrc.directory.erb
+++ b/templates/torrc.directory.erb
@@ -2,7 +2,7 @@
<% if @port != '0' -%>
DirPort <%= @port %>
<% end -%>
-<% listen_addresses.each do |listen_address| -%>
+<% Array(listen_addresses).each do |listen_address| -%>
DirListenAddress <%= listen_address %>
<% end -%>
<% if @port_front_page != '' -%>