summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2013-01-05 00:09:01 +0100
committermh <mh@immerda.ch>2013-01-05 00:09:01 +0100
commit005caf645dadb4574ee0d40098ab64a581876c7d (patch)
treed42f8a309b6b42771430c29166ea7cfd10d86ee4
parentf509d9ab85e76e5b9e8d25dcf7d39ff1c1e24c67 (diff)
I want to exlcude the ones pointing to me
-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 3926b76..957e8eb 100644
--- a/templates/remote_host.erb
+++ b/templates/remote_host.erb
@@ -1,5 +1,5 @@
# host <%= name %>
-<% if !(left_id =~ /#{scope.lookupvar('::fqdn')}/) -%>
+<% if !(right_id =~ /#{scope.lookupvar('::fqdn')}/) -%>
conn <%= name %>
<% if left_ip_address != 'absent' -%>
left=<%= left_ip_address %>