From 3a1148ba060646852f354ef04e1c0c6bb8038a0e Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 29 Oct 2022 20:58:37 +0200 Subject: snmp: T4785: allow ! in community name (cherry picked from commit dda62226353ebc198b4dbbd319412bb5d1d1ece2) --- interface-definitions/snmp.xml.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface-definitions/snmp.xml.in b/interface-definitions/snmp.xml.in index 1efe5e726..66e9c338b 100644 --- a/interface-definitions/snmp.xml.in +++ b/interface-definitions/snmp.xml.in @@ -13,7 +13,7 @@ Community name - ^[a-zA-Z0-9\-_]{1,100}$ + ^[a-zA-Z0-9\-_!]{1,100}$ Community string is limited to alphanumerical characters only with a total lenght of 100 -- cgit v1.2.3 From 755e75f0f0309f304e5875737fc1944c9550531a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 30 Oct 2022 12:50:36 +0100 Subject: snmp: T4785: allow @, * and # in SNMP community name (cherry picked from commit 3f91033927d80748b70e1ef58b2941643d1aca33) --- interface-definitions/snmp.xml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface-definitions/snmp.xml.in b/interface-definitions/snmp.xml.in index 66e9c338b..1067aa8a8 100644 --- a/interface-definitions/snmp.xml.in +++ b/interface-definitions/snmp.xml.in @@ -13,9 +13,9 @@ Community name - ^[a-zA-Z0-9\-_!]{1,100}$ + ^[a-zA-Z0-9\-_!@*#]{1,100}$ - Community string is limited to alphanumerical characters only with a total lenght of 100 + Community string is limited to alphanumerical characters, !, @, * and # with a total lenght of 100 -- cgit v1.2.3