summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp
diff options
context:
space:
mode:
authorDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-04-27 14:32:53 +0000
committerDmitriyEshenko <dmitriy.eshenko@vyos.io>2020-04-27 14:32:53 +0000
commite7c5072b28e9d021a36228b3828f38d6e8da0320 (patch)
tree6db7b7ac58155852b7a63aa7f5fae92fa80a3ecb /data/templates/accel-ppp
parent69977520cd74cc3af4594039e26dc0d5b49c9b35 (diff)
downloadvyos-1x-e7c5072b28e9d021a36228b3828f38d6e8da0320.tar.gz
vyos-1x-e7c5072b28e9d021a36228b3828f38d6e8da0320.zip
pppoe-server: T2391: Migrate single-session param to [common] section
Diffstat (limited to 'data/templates/accel-ppp')
-rw-r--r--data/templates/accel-ppp/pppoe.config.tmpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.tmpl b/data/templates/accel-ppp/pppoe.config.tmpl
index 99b3923b2..aece47a66 100644
--- a/data/templates/accel-ppp/pppoe.config.tmpl
+++ b/data/templates/accel-ppp/pppoe.config.tmpl
@@ -114,12 +114,14 @@ dae-server={{ radius_dynamic_author.server }}:{{ radius_dynamic_author.port }},{
{% endif -%}
{% endif %}
+{% if sesscrtl != 'disable' %}
+[common]
+single-session={{ sesscrtl }}
+{% endif %}
+
[ppp]
verbose=1
check-ip=1
-{% if not sesscrtl == 'disable' %}
-single-session={{sesscrtl}}
-{% endif -%}
{% if ppp_ccp %}
ccp=1
{% endif %}