From 73a00d92890595184d2a853bb809cd7244a7d016 Mon Sep 17 00:00:00 2001 From: hagbard Date: Sun, 5 Jan 2020 18:15:25 -0800 Subject: pppoe: regex pattern changed, cli checks for a valid vlan ID --- src/conf_mode/service-pppoe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -%} -- cgit v1.2.3