diff options
Diffstat (limited to 'templates/torrc.directory.erb')
-rw-r--r-- | templates/torrc.directory.erb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/torrc.directory.erb b/templates/torrc.directory.erb index 56cfae0..14712ef 100644 --- a/templates/torrc.directory.erb +++ b/templates/torrc.directory.erb @@ -1,12 +1,12 @@ # directory listing -<%- if dir_port != '0' then -%> -DirPort <%= dir_port %> +<%- if port != '0' then -%> +DirPort <%= port %> <%- end -%> -<%- if dir_listen_address != '' then -%> -DirListenAddress <%= dir_listen_address %> +<%- for listen_address in listen_addresses -%> +DirListenAddress <%= listen_address %> <%- end -%> -<%- if dir_port_front_page != '' then -%> -DirPortFrontPage <%= dir_port_front_page %> +<%- if port_front_page != '' then -%> +DirPortFrontPage <%= port_front_page %> <%- end -%> |