summaryrefslogtreecommitdiff
path: root/data/templates/ipsec/swanctl/l2tp.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/l2tp.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/l2tp.tmpl')
-rw-r--r--data/templates/ipsec/swanctl/l2tp.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/ipsec/swanctl/l2tp.tmpl b/data/templates/ipsec/swanctl/l2tp.tmpl
index 2df5c2a4d..4cd1b4af3 100644
--- a/data/templates/ipsec/swanctl/l2tp.tmpl
+++ b/data/templates/ipsec/swanctl/l2tp.tmpl
@@ -20,7 +20,7 @@
children {
l2tp_remote_access_esp {
mode = transport
- esp_proposals = {{ l2tp_esp | get_esp_ike_cipher | join(',') if l2tp_esp else l2tp_esp_default }}
+ esp_proposals = {{ l2tp_esp | get_esp_ike_cipher(l2tp_ike) | join(',') if l2tp_esp else l2tp_esp_default }}
life_time = {{ l2tp_esp.lifetime if l2tp_esp else l2tp.lifetime }}s
local_ts = dynamic[/1701]
remote_ts = dynamic