summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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(',') %>