summaryrefslogtreecommitdiff
path: root/templates/remote_host.erb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/remote_host.erb')
-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 dbe3945..207e25b 100644
--- a/templates/remote_host.erb
+++ b/templates/remote_host.erb
@@ -1,5 +1,5 @@
# host <%= name %>
-<% if !(right_id =~ /#{scope.lookupvar('::fqdn')}/) -%>
+<% if !(right_id =~ /#{scope.lookupvar('strongswan::custom_hostname')}/) -%>
conn <%= name %>
<% if left_ip_address != 'absent' -%>
left=<%= left_ip_address %>