diff options
Diffstat (limited to 'templates/torrc.relay.erb')
-rw-r--r-- | templates/torrc.relay.erb | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/templates/torrc.relay.erb b/templates/torrc.relay.erb index 511bda1..7735b47 100644 --- a/templates/torrc.relay.erb +++ b/templates/torrc.relay.erb @@ -1,11 +1,8 @@ # relay <% if @port != 0 -%> ORPort <%= @port %> -<% listen_addresses.each do |listen_address| -%> -ORListenAddress <%= listen_address %> -<% end -%> -<% real_outbound_bindaddresses.each do |outbound_bindaddress| -%> -OutboundBindAddress <%= outbound_bindaddress %> +<% Array(@real_outbound_bindaddresses).each do |outbound_bindaddress| -%> +OutboundBindAddress <%= @outbound_bindaddress %> <% end -%> <% if @nickname != '' -%> Nickname <%= @nickname %> |