diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-07-17 07:26:05 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-07-17 07:30:54 +0200 |
commit | 227391443df088f186f1719ae470ebb35d2ff706 (patch) | |
tree | 40829134643013fb96fd509c1cf9bdc722629bc9 /data | |
parent | 6a8080e1c0a7254ffb7046d543b9bff5618ff136 (diff) | |
download | vyos-1x-227391443df088f186f1719ae470ebb35d2ff706.tar.gz vyos-1x-227391443df088f186f1719ae470ebb35d2ff706.zip |
ipsec: T2816: migrate "ipsec interfaces" to "interface"
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/ipsec/interfaces_use.conf.tmpl | 5 |
1 files changed, 2 insertions, 3 deletions
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 |