From 689961e33cea7c6c2695e460a5f8da10a7b58c76 Mon Sep 17 00:00:00 2001 From: mh Date: Sat, 10 Aug 2013 18:34:09 +0200 Subject: really fix line --- templates/remote_host.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 %> -- cgit v1.2.3