summaryrefslogtreecommitdiff
path: root/templates/torrc.relay.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/torrc.relay.erb')
-rw-r--r--templates/torrc.relay.erb5
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/torrc.relay.erb b/templates/torrc.relay.erb
index a286459..7735b47 100644
--- a/templates/torrc.relay.erb
+++ b/templates/torrc.relay.erb
@@ -1,10 +1,7 @@
# relay
<% if @port != 0 -%>
ORPort <%= @port %>
-<% @listen_addresses.each do |listen_address| -%>
-ORListenAddress <%= @listen_address %>
-<% end -%>
-<% @real_outbound_bindaddresses.each do |outbound_bindaddress| -%>
+<% Array(@real_outbound_bindaddresses).each do |outbound_bindaddress| -%>
OutboundBindAddress <%= @outbound_bindaddress %>
<% end -%>
<% if @nickname != '' -%>