summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/vif-s.xml.i
diff options
context:
space:
mode:
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 9d1ddf579..dc0d91909 100644
--- a/interface-definitions/include/interface/vif-s.xml.i
+++ b/interface-definitions/include/interface/vif-s.xml.i
@@ -29,7 +29,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>