diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-10 17:56:08 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-03-10 17:56:08 +0100 |
commit | 724c685cba423758bece827d6d286815933ba912 (patch) | |
tree | 029ba32ea4c06caa53b72d134a1657ce05ba57d5 /interface-definitions/include | |
parent | f2fab1357f599ce29ed2ee0ee91b16046ffc4a2d (diff) | |
download | vyos-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.i | 2 |
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> |