From 6eea12512e59cc28f5c2e5ca5ec7e9e7b21731da Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 29 Jan 2023 09:02:05 +0100 Subject: xml: T1579: allow zero length for description Some older VyOS 1.3 installations seem to use zero-length description fields. Do not break them! --- interface-definitions/include/generic-description.xml.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 - [[:ascii:]]{1,256} + [[:ascii:]]{0,256} Description too long (limit 256 characters) -- cgit v1.2.3