From 227391443df088f186f1719ae470ebb35d2ff706 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 17 Jul 2021 07:26:05 +0200 Subject: ipsec: T2816: migrate "ipsec interfaces" to "interface" --- data/templates/ipsec/interfaces_use.conf.tmpl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'data') diff --git a/data/templates/ipsec/interfaces_use.conf.tmpl b/data/templates/ipsec/interfaces_use.conf.tmpl index 3d285b9be..a77102396 100644 --- a/data/templates/ipsec/interfaces_use.conf.tmpl +++ b/data/templates/ipsec/interfaces_use.conf.tmpl @@ -1,6 +1,5 @@ -{% if ipsec_interfaces is defined and 'interface' in ipsec_interfaces %} -{% set interfaces = ipsec_interfaces['interface'] %} +{% if interface is defined %} charon { - interfaces_use = {{ ', '.join(interfaces) if interfaces is not string else interfaces }} + interfaces_use = {{ ', '.join(interface) }} } {% endif %} \ No newline at end of file -- cgit v1.2.3