summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-12-30 21:13:04 +0700
committerGitHub <noreply@github.com>2021-12-30 21:13:04 +0700
commitb7b5eecd30c740e49d9a6943a1f0e8099be732eb (patch)
tree977404f73ae4acc581c0202f0185d3b06cf53ced /data
parent8341dbb811abf37b8cf4caf20d9e05ed4fb7d61a (diff)
parent94ee47fdf975232de2855eb06adcff3403c4b5b8 (diff)
downloadvyos-1x-b7b5eecd30c740e49d9a6943a1f0e8099be732eb.tar.gz
vyos-1x-b7b5eecd30c740e49d9a6943a1f0e8099be732eb.zip
Merge pull request #1125 from DmitriyEshenko/eq-1x-29122021-01
l2tp-server: T4117: Add dae-server configuration to template
Diffstat (limited to 'data')
-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 %}