summaryrefslogtreecommitdiff
path: root/data/templates/accel-ppp/pppoe.config.j2
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-08-16 07:03:04 +0100
committerGitHub <noreply@github.com>2024-08-16 07:03:04 +0100
commit9e740c4339d215ff7332d22d12d40f4acd75d4c8 (patch)
treeb6840aa64850b1f0c9aaa30799d77250b3c9474a /data/templates/accel-ppp/pppoe.config.j2
parentcb1eec686cfe7b64142980963d44ae47a4eb66cc (diff)
parent663e468de2b431f771534b4e3a2d00a5924b98fe (diff)
downloadvyos-1x-9e740c4339d215ff7332d22d12d40f4acd75d4c8.tar.gz
vyos-1x-9e740c4339d215ff7332d22d12d40f4acd75d4c8.zip
Merge pull request #3987 from natali-rs1985/T6649-current
ipoe_server: T6649: Accel-ppp separate vlan-mon from listen interfaces
Diffstat (limited to 'data/templates/accel-ppp/pppoe.config.j2')
-rw-r--r--data/templates/accel-ppp/pppoe.config.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.j2 b/data/templates/accel-ppp/pppoe.config.j2
index 73ffe0963..beab46936 100644
--- a/data/templates/accel-ppp/pppoe.config.j2
+++ b/data/templates/accel-ppp/pppoe.config.j2
@@ -61,7 +61,9 @@ interface={{ iface }}
{% for vlan in iface_config.vlan %}
interface=re:^{{ iface }}\.{{ vlan | range_to_regex }}$
{% endfor %}
+{% if iface_config.vlan_mon is vyos_defined %}
vlan-mon={{ iface }},{{ iface_config.vlan | join(',') }}
+{% endif %}
{% endif %}
{% endfor %}
{% endif %}