summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/vif-s.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-29 19:51:50 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-29 19:51:50 +0200
commit80ecb1b7aaab47edeb355c3b74a763e940d88179 (patch)
treecb0951a838ccfafe7a154cf566461ece0280f0a9 /interface-definitions/include/interface/vif-s.xml.i
parent52155b9086fa18083efb601bcc9ba8807f147686 (diff)
downloadvyos-1x-80ecb1b7aaab47edeb355c3b74a763e940d88179.tar.gz
vyos-1x-80ecb1b7aaab47edeb355c3b74a763e940d88179.zip
xml: T4047: use full string match in the regex validator
Diffstat (limited to 'interface-definitions/include/interface/vif-s.xml.i')
-rw-r--r--interface-definitions/include/interface/vif-s.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/interface/vif-s.xml.i b/interface-definitions/include/interface/vif-s.xml.i
index 3b305618e..c1af9f9e3 100644
--- a/interface-definitions/include/interface/vif-s.xml.i
+++ b/interface-definitions/include/interface/vif-s.xml.i
@@ -35,7 +35,7 @@
<description>VLAN-tagged frame (IEEE 802.1q), ethertype 0x8100</description>
</valueHelp>
<constraint>
- <regex>^(802.1q|802.1ad)$</regex>
+ <regex>(802.1q|802.1ad)</regex>
</constraint>
<constraintErrorMessage>Ethertype must be 802.1ad or 802.1q</constraintErrorMessage>
</properties>