diff options
author | Christian Breunig <christian@breunig.cc> | 2023-03-06 13:16:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-06 13:16:29 +0100 |
commit | 14bca4e80c4d0773ada6862f732c2f1495594239 (patch) | |
tree | 06ae239d5bdb85b0a07caf87756aa567a28e9b28 /data/templates/accel-ppp/ipoe.config.j2 | |
parent | 248e77aad6ca2ab663112240790bf38f48def1fb (diff) | |
parent | 39f6be1dcb9e28d8f768efe779273d75f6637a5d (diff) | |
download | vyos-1x-14bca4e80c4d0773ada6862f732c2f1495594239.tar.gz vyos-1x-14bca4e80c4d0773ada6862f732c2f1495594239.zip |
Merge pull request #1869 from sever-sever/T5056
T5056: Fix IPoE server template for vlan-mon
Diffstat (limited to 'data/templates/accel-ppp/ipoe.config.j2')
-rw-r--r-- | data/templates/accel-ppp/ipoe.config.j2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/templates/accel-ppp/ipoe.config.j2 b/data/templates/accel-ppp/ipoe.config.j2 index 99227ea33..179f2277b 100644 --- a/data/templates/accel-ppp/ipoe.config.j2 +++ b/data/templates/accel-ppp/ipoe.config.j2 @@ -54,9 +54,9 @@ password=csid {% endif %} proxy-arp=1 -{% for interface in interfaces %} -{% if (interface.shared == '0') and (interface.vlan_mon) %} -vlan-mon={{ interface.name }},{{ interface.vlan_mon | join(',') }} +{% for iface, iface_options in interface.items() %} +{% if iface_options.network is vyos_defined('vlan') %} +vlan-mon={{ iface }},{{ iface_options.vlan | join(',') }} {% endif %} {% endfor %} |