summaryrefslogtreecommitdiff
path: root/templates/torrc.directory.erb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2018-02-13 01:22:57 +0100
committermh <mh@immerda.ch>2018-02-13 01:22:57 +0100
commit24bd5ca46dc90c663f241933410d085fc1311fab (patch)
treef3498601b49fe453230c7a042edfd99b5c2f77f0 /templates/torrc.directory.erb
parent1fcbe72115d57d53fced2777c8b54a4ee4ec17e9 (diff)
parent228ae4a53999dbc49fa7c4d2883468dde10f19fb (diff)
Merge remote-tracking branch 'shared/master'
Diffstat (limited to 'templates/torrc.directory.erb')
-rw-r--r--templates/torrc.directory.erb7
1 files changed, 2 insertions, 5 deletions
diff --git a/templates/torrc.directory.erb b/templates/torrc.directory.erb
index 1af9f40..d70ab39 100644
--- a/templates/torrc.directory.erb
+++ b/templates/torrc.directory.erb
@@ -1,11 +1,8 @@
# directory listing
-<% if port != '0' -%>
+<% if @port != '0' -%>
DirPort <%= @port %>
<% end -%>
-<% listen_addresses.each do |listen_address| -%>
-DirListenAddress <%= listen_address %>
-<% end -%>
<% if @port_front_page != '' -%>
-DirPortFrontPage <%= port_front_page %>
+DirPortFrontPage <%= @port_front_page %>
<%- end -%>