summaryrefslogtreecommitdiff
path: root/interface-definitions/include/generic-description.xml.i
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-03-10 17:13:14 +0100
committerGitHub <noreply@github.com>2024-03-10 17:13:14 +0100
commitc29023becfe26e19284d9520820f5c00eefd6527 (patch)
treee68c8aa747837d1c53675c4adbcd66f344e6ef3c /interface-definitions/include/generic-description.xml.i
parent6b52ad6d456e9e90cb983649b3ae43ac1c597f74 (diff)
parentd5302168b5e40aafa917866edd18c6b71ccf93c8 (diff)
downloadvyos-1x-c29023becfe26e19284d9520820f5c00eefd6527.tar.gz
vyos-1x-c29023becfe26e19284d9520820f5c00eefd6527.zip
Merge pull request #3114 from vyos/mergify/bp/sagitta/pr-3113
firewall: T6071: truncate rule description field to 255 characters (backport #3113)
Diffstat (limited to 'interface-definitions/include/generic-description.xml.i')
-rw-r--r--interface-definitions/include/generic-description.xml.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/generic-description.xml.i b/interface-definitions/include/generic-description.xml.i
index 63e5e174e..ffe037a01 100644
--- a/interface-definitions/include/generic-description.xml.i
+++ b/interface-definitions/include/generic-description.xml.i
@@ -7,9 +7,9 @@
<description>Description</description>
</valueHelp>
<constraint>
- <regex>[[:ascii:]]{0,256}</regex>
+ <regex>[[:ascii:]]{1,255}</regex>
</constraint>
- <constraintErrorMessage>Description too long (limit 256 characters)</constraintErrorMessage>
+ <constraintErrorMessage>Description too long (limit 255 characters)</constraintErrorMessage>
</properties>
</leafNode>
<!-- include end -->