summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-10 17:56:08 +0100
committerChristian Breunig <christian@breunig.cc>2024-03-10 17:56:08 +0100
commit724c685cba423758bece827d6d286815933ba912 (patch)
tree029ba32ea4c06caa53b72d134a1657ce05ba57d5 /interface-definitions/include
parentf2fab1357f599ce29ed2ee0ee91b16046ffc4a2d (diff)
downloadvyos-1x-724c685cba423758bece827d6d286815933ba912.tar.gz
vyos-1x-724c685cba423758bece827d6d286815933ba912.zip
xml: T5738: revert invalid change from lower character limit - 0 length must be allowed
This reverts a change from commit a72ededa0 ("xml: T5738: lower maximum description to 255 characters") which incresaed the lower limit from 0 to 1. We actually require 0 length value for description nodes as introduced in commit 6eea12512e ("xml: T1579: allow zero length for description").
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/generic-description.xml.i2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/include/generic-description.xml.i b/interface-definitions/include/generic-description.xml.i
index ffe037a01..0b3701534 100644
--- a/interface-definitions/include/generic-description.xml.i
+++ b/interface-definitions/include/generic-description.xml.i
@@ -7,7 +7,7 @@
<description>Description</description>
</valueHelp>
<constraint>
- <regex>[[:ascii:]]{1,255}</regex>
+ <regex>[[:ascii:]]{0,255}</regex>
</constraint>
<constraintErrorMessage>Description too long (limit 255 characters)</constraintErrorMessage>
</properties>