summaryrefslogtreecommitdiff
path: root/data/templates/ipsec/swanctl/profile.tmpl
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2021-09-13 13:51:49 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2021-09-13 14:23:54 +0200
commit2e68b070f1531c87d5976213565d9b929c5589ab (patch)
tree8e9f48b32cb2cb6832b07babaf282120fa14e5ed /data/templates/ipsec/swanctl/profile.tmpl
parentf86b7314d025fd0cf11c2d91638ed3cc7c4fa507 (diff)
downloadvyos-1x-2e68b070f1531c87d5976213565d9b929c5589ab.tar.gz
vyos-1x-2e68b070f1531c87d5976213565d9b929c5589ab.zip
ipsec: T3828: Use IKE dh-group when ESP dh-group is set to `enable`
Diffstat (limited to 'data/templates/ipsec/swanctl/profile.tmpl')
-rw-r--r--data/templates/ipsec/swanctl/profile.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ipsec/swanctl/profile.tmpl b/data/templates/ipsec/swanctl/profile.tmpl
index 66bcaa776..948dd8f87 100644
--- a/data/templates/ipsec/swanctl/profile.tmpl
+++ b/data/templates/ipsec/swanctl/profile.tmpl
@@ -19,7 +19,7 @@
{% endif %}
children {
dmvpn {
- esp_proposals = {{ esp | get_esp_ike_cipher | join(',') }}
+ esp_proposals = {{ esp | get_esp_ike_cipher(ike) | join(',') }}
rekey_time = {{ esp.lifetime }}s
rand_time = 540s
local_ts = dynamic[gre]