diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-20 13:57:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-20 13:57:16 +0200 |
commit | 2278785d4327c961a2c3a8e36637f4e464ad7230 (patch) | |
tree | a301a1caa0cc73f8a90ced43bff35959ba79856f /data | |
parent | 9ac5e1c8479049ae63747db36f4a0ef13ce6bc01 (diff) | |
download | vyos-1x-2278785d4327c961a2c3a8e36637f4e464ad7230.tar.gz vyos-1x-2278785d4327c961a2c3a8e36637f4e464ad7230.zip |
ipsec: T1210: add missing if clause around unique key
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/ipsec/swanctl/remote_access.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/ipsec/swanctl/remote_access.tmpl b/data/templates/ipsec/swanctl/remote_access.tmpl index 456842488..f906836c6 100644 --- a/data/templates/ipsec/swanctl/remote_access.tmpl +++ b/data/templates/ipsec/swanctl/remote_access.tmpl @@ -10,7 +10,9 @@ send_certreq = no rekey_time = {{ ike.lifetime }}s keyingtries = 0 +{% if rw_conf.unique is defined and rw_conf.unique is not none %} unique = {{ rw_conf.unique }} +{% endif %} {% if rw_conf.pool is defined and rw_conf.pool is not none %} pools = {{ rw_conf.pool | join(',') }} {% endif %} |