summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/torrc.directory.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/torrc.directory.erb b/templates/torrc.directory.erb
index 1af9f40..c7dc4ab 100644
--- a/templates/torrc.directory.erb
+++ b/templates/torrc.directory.erb
@@ -1,11 +1,11 @@
# 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 -%>