summaryrefslogtreecommitdiff
path: root/templates/remote_host.erb
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-08-10 18:34:09 +0200
committermh <mh@immerda.ch>2013-08-10 18:34:09 +0200
commit689961e33cea7c6c2695e460a5f8da10a7b58c76 (patch)
tree46d68640a6ffc8761bab91dc125c23d8f3cd6c36 /templates/remote_host.erb
parent9c90e6ae9d73e762fadde4e66edc5ccb02c69467 (diff)
really fix line
Diffstat (limited to 'templates/remote_host.erb')
-rw-r--r--templates/remote_host.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/remote_host.erb b/templates/remote_host.erb
index 52639cd..8d1ab41 100644
--- a/templates/remote_host.erb
+++ b/templates/remote_host.erb
@@ -7,7 +7,7 @@ conn <%= name %>
<% if left_id != 'absent' -%>
leftid=@<%= left_id %>
<% end -%>
-<% unless left_subnet.empty? %>
+<% unless left_subnet.empty? -%>
leftsubnet=<%= left_subnet.collect{|s| s.include?('/') ? s : (s.include?(':') ? "#{s}/128" : "#{s}/32" ) }.join(',') %>
<% end -%>
right=<%= right_ip_address %>