summaryrefslogtreecommitdiff
path: root/interface-definitions/include/qos/bandwidth-auto.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-04 15:56:04 +0100
committerChristian Breunig <christian@breunig.cc>2023-02-04 15:56:04 +0100
commit04addbaf7204844691e6ae5c82fa3fd311b6911e (patch)
treeb5cd65cc3c80dc202ae970571ce9f24ec3b5e544 /interface-definitions/include/qos/bandwidth-auto.xml.i
parenta2e7f2adc9b8d98818d7111a866432352aff5f1e (diff)
downloadvyos-1x-04addbaf7204844691e6ae5c82fa3fd311b6911e.tar.gz
vyos-1x-04addbaf7204844691e6ae5c82fa3fd311b6911e.zip
qos: xml: T4284: bandwidh unit suffix is optional
Diffstat (limited to 'interface-definitions/include/qos/bandwidth-auto.xml.i')
-rw-r--r--interface-definitions/include/qos/bandwidth-auto.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/qos/bandwidth-auto.xml.i b/interface-definitions/include/qos/bandwidth-auto.xml.i
index a86f28296..fa16a6cb0 100644
--- a/interface-definitions/include/qos/bandwidth-auto.xml.i
+++ b/interface-definitions/include/qos/bandwidth-auto.xml.i
@@ -39,7 +39,7 @@
</valueHelp>
<constraint>
<validator name="numeric" argument="--positive"/>
- <regex>(auto|\d+(bit|kbit|mbit|gbit|tbit)|(100|\d(\d)?)%)</regex>
+ <regex>(auto|\d+(bit|kbit|mbit|gbit|tbit)?|(100|\d(\d)?)%)</regex>
</constraint>
</properties>
<defaultValue>auto</defaultValue>