update vlan parsers

This commit is contained in:
IluaAir
2025-06-30 22:48:26 +03:00
parent 338b9e69a7
commit 2934bfd0bd
2 changed files with 3 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ class BaseDevice(Protocol):
unamed_vlan_splitter: str = ','
unamed_vlan_counter = '-'
unamed_vlans_parse_pattern = r"^vlan\s+(?:\w+\s+)?([\d,-]*[ ,][\d (to),-]*)$"
unamed_vlans_parse_pattern = r"vlan\s+(?:\w+\s+)?([\d,-]*[ ,][\d (to),-]*)$"
def __init__(self, config):
self.config: str = config