summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2020-01-05 18:15:25 -0800
committerhagbard <vyosdev@derith.de>2020-01-05 18:15:25 -0800
commit73a00d92890595184d2a853bb809cd7244a7d016 (patch)
treef6a742be4b15c7ad834df8db04ad30140812fb34 /src/conf_mode
parent54ddd044f503afcb1704dee83b791d1e4dc8583d (diff)
downloadvyos-1x-73a00d92890595184d2a853bb809cd7244a7d016.tar.gz
vyos-1x-73a00d92890595184d2a853bb809cd7244a7d016.zip
pppoe: regex pattern changed, cli checks for a valid vlan ID
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/service-pppoe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/service-pppoe.py b/src/conf_mode/service-pppoe.py
index b92b7ab17..30112186a 100755
--- a/src/conf_mode/service-pppoe.py
+++ b/src/conf_mode/service-pppoe.py
@@ -247,7 +247,7 @@ ac-name={{concentrator}}
interface={{int}}
{% if interface[int]['vlans'] %}
vlan_mon={{interface[int]['vlans']|join(',')}}
-interface=re:{{int}}\.(409[0-6]|40[0-8][0-9]|[1-3][0-9]{3}|[1-9][0-9]{0,2})
+interface=re:{{int}}\.\d+
{% endif %}
{% endfor -%}
{% endif -%}