diff options
author | Daniil Baturin <daniil@vyos.io> | 2024-03-10 15:17:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-10 15:17:38 +0100 |
commit | f2fab1357f599ce29ed2ee0ee91b16046ffc4a2d (patch) | |
tree | dec0d1dd004e0fbb440c8cb955368f206247be7a /interface-definitions | |
parent | e8a6d3ddb6eb36299dbced2e119ba0699e062350 (diff) | |
parent | 259ef4740413b39da9b122db19c549eeec88114c (diff) | |
download | vyos-1x-f2fab1357f599ce29ed2ee0ee91b16046ffc4a2d.tar.gz vyos-1x-f2fab1357f599ce29ed2ee0ee91b16046ffc4a2d.zip |
Merge pull request #3113 from c-po/firewall-T6071
firewall: T6071: truncate rule description field to 255 characters
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/generic-description.xml.i | 4 |
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 --> |