summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorEshenko Dmitriy <dmitriy.eshenko@vyos.io>2021-06-03 09:26:59 +0300
committerChristian Poessinger <christian@poessinger.com>2021-06-29 20:41:12 +0200
commit35b2fbbf7dc9df94cca7d61acb29e0ec35854176 (patch)
tree868a10995f553915c6cf141507b127658f581914 /data
parent6fdb90a43e910841d2a73960446cdef2d094763f (diff)
downloadvyos-1x-35b2fbbf7dc9df94cca7d61acb29e0ec35854176.tar.gz
vyos-1x-35b2fbbf7dc9df94cca7d61acb29e0ec35854176.zip
pppoe-server: T3593: Change called-sid position in template
(cherry picked from commit 4b646c1fb31a1a9f9c9d1658734d478fed5f19f1)
Diffstat (limited to 'data')
-rw-r--r--data/templates/accel-ppp/pppoe.config.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.tmpl b/data/templates/accel-ppp/pppoe.config.tmpl
index 14079becb..a8ed48a23 100644
--- a/data/templates/accel-ppp/pppoe.config.tmpl
+++ b/data/templates/accel-ppp/pppoe.config.tmpl
@@ -124,6 +124,9 @@ service-name={{ service_name | join(',') }}
{% endfor %}
pado-delay={{ pado_delay_param.value }}
{% endif %}
+{% if authentication.radius.called_sid_format is defined and authentication.radius.called_sid_format is not none %}
+called-sid={{ authentication.radius.called_sid_format }}
+{% endif %}
{% if limits is defined %}
[connlimit]
@@ -137,9 +140,6 @@ burst={{ limits.burst }}
timeout={{ limits.timeout }}
{% endif %}
{% endif %}
-{% if authentication.radius.called_sid_format is defined and authentication.radius.called_sid_format is not none %}
-called-sid={{ authentication.radius.called_sid_format }}
-{% endif %}
{# Common RADIUS shaper configuration #}
{% include 'accel-ppp/config_shaper_radius.j2' %}