summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-12-29 14:05:07 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2021-12-29 15:24:43 +0000
commit94ee47fdf975232de2855eb06adcff3403c4b5b8 (patch)
tree9c01dc0e12aaa54d8f8b3562f42beb03009993f6 /data/templates/accel-ppp
parentaa3cf49f191d0a9cbf36a8f8efebc22293e637c8 (diff)
downloadvyos-1x-94ee47fdf975232de2855eb06adcff3403c4b5b8.tar.gz
vyos-1x-94ee47fdf975232de2855eb06adcff3403c4b5b8.zip
l2tp-server: T4117: Add dae-server configuration to template
Diffstat (limited to 'data/templates/accel-ppp')
-rw-r--r--data/templates/accel-ppp/l2tp.config.tmpl4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/l2tp.config.tmpl b/data/templates/accel-ppp/l2tp.config.tmpl
index a2a2382fa..24b81724b 100644
--- a/data/templates/accel-ppp/l2tp.config.tmpl
+++ b/data/templates/accel-ppp/l2tp.config.tmpl
@@ -88,7 +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 defined and radius_dynamic_author.server is not none %}
+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 %}