summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/l2tp.config.j2
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2022-12-08 13:04:56 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2022-12-08 13:04:56 +0000
commit9fa4b761d027e2eee8a6fac587857548292261fb (patch)
tree6eb32c098e9a307940c726996fa223413777642e /data/templates/accel-ppp/l2tp.config.j2
parentd37387dd4510502144f33192923e7060f311d2a2 (diff)
downloadvyos-1x-9fa4b761d027e2eee8a6fac587857548292261fb.tar.gz
vyos-1x-9fa4b761d027e2eee8a6fac587857548292261fb.zip
T4117: Fix for L2TP DAE CoA server configuration
Fix l2tp dae server template and python config dict for correctlly handling Dynamic Authorization Extension server configuration
Diffstat (limited to 'data/templates/accel-ppp/l2tp.config.j2')
-rw-r--r--data/templates/accel-ppp/l2tp.config.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/l2tp.config.j2 b/data/templates/accel-ppp/l2tp.config.j2
index 9eeaf7622..986f19656 100644
--- a/data/templates/accel-ppp/l2tp.config.j2
+++ b/data/templates/accel-ppp/l2tp.config.j2
@@ -88,6 +88,9 @@ verbose=1
{% for r in radius_server %}
server={{ r.server }},{{ r.key }},auth-port={{ r.port }},acct-port={{ r.acct_port }},req-limit=0,fail-time={{ r.fail_time }}
{% endfor %}
+{% if radius_dynamic_author.server is vyos_defined %}
+dae-server={{ radius_dynamic_author.server }}:{{ radius_dynamic_author.port }},{{ radius_dynamic_author.key }}
+{% endif %}
{% if radius_acct_inter_jitter %}
acct-interim-jitter={{ radius_acct_inter_jitter }}
{% endif %}