summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-12-08 13:28:47 +0000
committerGitHub <noreply@github.com>2022-12-08 13:28:47 +0000
commit7e449725bf903a6a6ab48f474a0306b1c6e195ae (patch)
tree6eb32c098e9a307940c726996fa223413777642e /data
parentd37387dd4510502144f33192923e7060f311d2a2 (diff)
parent9fa4b761d027e2eee8a6fac587857548292261fb (diff)
downloadvyos-1x-7e449725bf903a6a6ab48f474a0306b1c6e195ae.tar.gz
vyos-1x-7e449725bf903a6a6ab48f474a0306b1c6e195ae.zip
Merge pull request #1698 from sever-sever/T4117
T4117: Fix for L2TP DAE CoA server configuration
Diffstat (limited to 'data')
-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 %}