summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-09 19:15:18 +0100
committermh <mh@immerda.ch>2013-01-09 19:15:18 +0100
commit31650828b8c9cce731a52b735b40e6c95f6c3fa1 (patch)
tree2cc5e37f213426996914987e082a05a86c96612d
parent0f2a764ea138904b1d6c325c843eb23a94edff9f (diff)
fix id prefix
-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 957e8eb..52639cd 100644
--- a/templates/remote_host.erb
+++ b/templates/remote_host.erb
@@ -5,7 +5,7 @@ conn <%= name %>
left=<%= left_ip_address %>
<% end -%>
<% if left_id != 'absent' -%>
- leftid=<%= left_id %>
+ leftid=@<%= left_id %>
<% end -%>
<% unless left_subnet.empty? %>
leftsubnet=<%= left_subnet.collect{|s| s.include?('/') ? s : (s.include?(':') ? "#{s}/128" : "#{s}/32" ) }.join(',') %>