summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2024-09-10 12:21:04 +0300
committerNataliia Solomko <natalirs1985@gmail.com>2024-09-12 09:48:07 +0300
commitda35b91a0c1484e112dedda9caf08227fa048529 (patch)
tree1aaebc4791eb05f940deb2bf2c6b9f5550fcdb55 /data/templates/accel-ppp
parentd739a10ce278c5a2cbc2c7790ed36d0e54c2624e (diff)
downloadvyos-1x-da35b91a0c1484e112dedda9caf08227fa048529.tar.gz
vyos-1x-da35b91a0c1484e112dedda9caf08227fa048529.zip
pppoe-server: T6685: Possibility of any services name or blank in pppoe
Diffstat (limited to 'data/templates/accel-ppp')
-rw-r--r--data/templates/accel-ppp/pppoe.config.j26
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.j2 b/data/templates/accel-ppp/pppoe.config.j2
index beab46936..cf952c687 100644
--- a/data/templates/accel-ppp/pppoe.config.j2
+++ b/data/templates/accel-ppp/pppoe.config.j2
@@ -70,6 +70,12 @@ vlan-mon={{ iface }},{{ iface_config.vlan | join(',') }}
{% if service_name %}
service-name={{ service_name | join(',') }}
{% endif %}
+{% if accept_any_service is vyos_defined %}
+accept-any-service=1
+{% endif %}
+{% if accept_blank_service is vyos_defined %}
+accept-blank-service=1
+{% endif %}
{% if pado_delay %}
{% set delay_without_sessions = pado_delay.delays_without_sessions[0] | default('0') %}
{% set pado_delay_param = namespace(value=delay_without_sessions) %}