diff options
author | Nataliia Solomko <natalirs1985@gmail.com> | 2024-04-25 13:27:50 +0300 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-01 15:34:47 +0000 |
commit | 0891817c6f0b4d4bb3e8d4c21f2873ab43e1be26 (patch) | |
tree | 5542df2c18c8941547f64bf8165b2a3f3e412600 /data/templates/accel-ppp | |
parent | f69604da0a06e4bf48e3730286539f84ad02d0ef (diff) | |
download | vyos-1x-0891817c6f0b4d4bb3e8d4c21f2873ab43e1be26.tar.gz vyos-1x-0891817c6f0b4d4bb3e8d4c21f2873ab43e1be26.zip |
pppoe-server: T6234: PPPoE-server pado-delay refactoring
(cherry picked from commit 107ee099e82397b31fca8cf1ac3860cbf76f0596)
Diffstat (limited to 'data/templates/accel-ppp')
-rw-r--r-- | data/templates/accel-ppp/pppoe.config.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.j2 b/data/templates/accel-ppp/pppoe.config.j2 index ddf0da518..42bc8440c 100644 --- a/data/templates/accel-ppp/pppoe.config.j2 +++ b/data/templates/accel-ppp/pppoe.config.j2 @@ -67,7 +67,7 @@ service-name={{ service_name | join(',') }} {% set delay_without_sessions = pado_delay.delays_without_sessions[0] | default('0') %} {% set pado_delay_param = namespace(value=delay_without_sessions) %} {% for delay, sessions in pado_delay.delays_with_sessions | sort(attribute='1') %} -{% if not loop.last %} +{% if not delay == 'disable' %} {% set pado_delay_param.value = pado_delay_param.value + ',' + delay + ':' + sessions | string %} {% else %} {% set pado_delay_param.value = pado_delay_param.value + ',-1:' + sessions | string %} |