summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-29 09:02:05 +0100
committerGitHub <noreply@github.com>2023-01-29 09:02:05 +0100
commit6eea12512e59cc28f5c2e5ca5ec7e9e7b21731da (patch)
tree73b2b6e2cbe9eb81df10784a9028ecc90cd95c55 /interface-definitions
parentab9fccdc3a460d731d1a56b576bef537331d8f9b (diff)
downloadvyos-1x-6eea12512e59cc28f5c2e5ca5ec7e9e7b21731da.tar.gz
vyos-1x-6eea12512e59cc28f5c2e5ca5ec7e9e7b21731da.zip
xml: T1579: allow zero length for description
Some older VyOS 1.3 installations seem to use zero-length description fields. Do not break them!
Diffstat (limited to 'interface-definitions')
-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 b030c2495..63e5e174e 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,256}</regex>
+ <regex>[[:ascii:]]{0,256}</regex>
</constraint>
<constraintErrorMessage>Description too long (limit 256 characters)</constraintErrorMessage>
</properties>