summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-12-23 11:36:32 +0000
committerGitHub <noreply@github.com>2024-12-23 11:36:32 +0000
commit1258853a124780117967271ac5fa13bfaa024848 (patch)
tree8e51189995373d16eee6cdcf86dd868368703f62 /data
parent3168305a0474573ad0f36fee399baa423cbce5e4 (diff)
parent8f61e4293945ea895385a29f8bd387cde9f98806 (diff)
downloadvyos-1x-1258853a124780117967271ac5fa13bfaa024848.tar.gz
vyos-1x-1258853a124780117967271ac5fa13bfaa024848.zip
Merge pull request #4247 from sever-sever/T6936
T6936: PPPoE-server add option combined to interface
Diffstat (limited to 'data')
-rw-r--r--data/templates/accel-ppp/pppoe.config.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/data/templates/accel-ppp/pppoe.config.j2 b/data/templates/accel-ppp/pppoe.config.j2
index cf952c687..2c4871a6b 100644
--- a/data/templates/accel-ppp/pppoe.config.j2
+++ b/data/templates/accel-ppp/pppoe.config.j2
@@ -61,6 +61,9 @@ interface={{ iface }}
{% for vlan in iface_config.vlan %}
interface=re:^{{ iface }}\.{{ vlan | range_to_regex }}$
{% endfor %}
+{% if iface_config.combined is vyos_defined %}
+interface={{ iface }}
+{% endif %}
{% if iface_config.vlan_mon is vyos_defined %}
vlan-mon={{ iface }},{{ iface_config.vlan | join(',') }}
{% endif %}