summaryrefslogtreecommitdiff
path: root/templates/remote_host.erb
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-08-10 20:20:13 +0200
committervarac <varacanero@zeromail.org>2013-08-10 20:20:13 +0200
commit3ee1d666927fcb440b8ef22d35246a175277c605 (patch)
tree89c37f4479ba5167668e15d3434cdabf87042385 /templates/remote_host.erb
parentf1da3f6ffe640f45ab74521f55389af504375b74 (diff)
fix variable scope for $custom_hostname
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 2c70a37..207e25b 100644
--- a/templates/remote_host.erb
+++ b/templates/remote_host.erb
@@ -1,5 +1,5 @@
# host <%= name %>
-<% if !(right_id =~ /#{scope.lookupvar('custom_hostname')}/) -%>
+<% if !(right_id =~ /#{scope.lookupvar('strongswan::custom_hostname')}/) -%>
conn <%= name %>
<% if left_ip_address != 'absent' -%>
left=<%= left_ip_address %>