summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-09-12 13:49:14 +0100
committerGitHub <noreply@github.com>2024-09-12 13:49:14 +0100
commit48ac2a98ec665eaf81872f0263157fff8d37bd6c (patch)
treeab69afaf46b0483dfdee6460ed3faa6b3430a17f /data
parentfe67039aa3e213cfa8d2c41c2990c60d1a96924c (diff)
parentda35b91a0c1484e112dedda9caf08227fa048529 (diff)
downloadvyos-1x-48ac2a98ec665eaf81872f0263157fff8d37bd6c.tar.gz
vyos-1x-48ac2a98ec665eaf81872f0263157fff8d37bd6c.zip
Merge pull request #4041 from natali-rs1985/T6685-current
pppoe-server: T6685: Add options to accept any and blank service names
Diffstat (limited to 'data')
-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) %}