summaryrefslogtreecommitdiff
path: root/interface-definitions/include/generic-description.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-10 12:50:35 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-03-10 14:18:20 +0000
commitc70d6dec4f3a95845a7275a54cee5e7014dd3357 (patch)
treeb14a16eacfc20d316ad63a87bf71e02e405dd1ca /interface-definitions/include/generic-description.xml.i
parent6b52ad6d456e9e90cb983649b3ae43ac1c597f74 (diff)
downloadvyos-1x-c70d6dec4f3a95845a7275a54cee5e7014dd3357.tar.gz
vyos-1x-c70d6dec4f3a95845a7275a54cee5e7014dd3357.zip
xml: T5738: lower maximum description to 255 characters
e.g. Linux Kernel only supports 255 and not 256 characters for the ifalias field. (cherry picked from commit a72ededa0b29c25efaab52f2db170c34eba50248)
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 -->