summaryrefslogtreecommitdiff
path: root/src/conf_mode/accel_pppoe.py
diff options
context:
space:
mode:
authorEshenko Dmitriy <dmitriy.eshenko@vyos.io>2019-11-23 15:34:31 +0300
committerDaniil Baturin <daniil@baturin.org>2020-03-13 16:54:48 +0100
commit7e7cb89720a97dceadeb1b4d4e8002e94c4414ac (patch)
tree9246021a766c3327e731627bc9c2dc3318436ea1 /src/conf_mode/accel_pppoe.py
parent806b944f62e675484a114f69be1fc80c1ec76337 (diff)
downloadvyos-1x-7e7cb89720a97dceadeb1b4d4e8002e94c4414ac.tar.gz
vyos-1x-7e7cb89720a97dceadeb1b4d4e8002e94c4414ac.zip
pppoe-server: T1821: Set radius module priority
Diffstat (limited to 'src/conf_mode/accel_pppoe.py')
-rwxr-xr-xsrc/conf_mode/accel_pppoe.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/accel_pppoe.py b/src/conf_mode/accel_pppoe.py
index 97e3723f0..a113ed34e 100755
--- a/src/conf_mode/accel_pppoe.py
+++ b/src/conf_mode/accel_pppoe.py
@@ -44,6 +44,9 @@ pppoe_config = '''
[modules]
log_syslog
pppoe
+{% if authentication['mode'] == 'radius' %}
+radius
+{% endif %}
ippool
{% if client_ipv6_pool %}
ipv6pool
@@ -61,9 +64,6 @@ net-snmp
{% if limits %}
connlimit
{% endif %}
-{% if authentication['mode'] == 'radius' %}
-radius
-{% endif %}
[core]
thread-count={{thread_cnt}}