diff options
Diffstat (limited to 'templates/remote_host.erb')
-rw-r--r-- | templates/remote_host.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/remote_host.erb b/templates/remote_host.erb index a67238e..d3d94b0 100644 --- a/templates/remote_host.erb +++ b/templates/remote_host.erb @@ -1,5 +1,5 @@ # host <%= name %> -<% if scope.lookupvar('::fqdn') != left_id -%> +<% if !(left_id =~ scope.lookupvar('::fqdn')) -%> conn <%= name %> <% if left_ip_address != 'absent' -%> left=<%= left_ip_address %> |