From 3ee1d666927fcb440b8ef22d35246a175277c605 Mon Sep 17 00:00:00 2001 From: varac Date: Sat, 10 Aug 2013 20:20:13 +0200 Subject: fix variable scope for $custom_hostname --- templates/remote_host.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/remote_host.erb') 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 %> -- cgit v1.2.3