summaryrefslogtreecommitdiff
path: root/interface-definitions/snmp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-10-30 12:50:36 +0100
committerChristian Poessinger <christian@poessinger.com>2022-10-30 12:50:36 +0100
commit3f91033927d80748b70e1ef58b2941643d1aca33 (patch)
tree4f3a27347b8410a16797d6e4c370c8db802f223c /interface-definitions/snmp.xml.in
parent4d924de02cedd3a2a85cb6346c30f902bc2fa57c (diff)
downloadvyos-1x-3f91033927d80748b70e1ef58b2941643d1aca33.tar.gz
vyos-1x-3f91033927d80748b70e1ef58b2941643d1aca33.zip
snmp: T4785: allow @, * and # in SNMP community name
Diffstat (limited to 'interface-definitions/snmp.xml.in')
-rw-r--r--interface-definitions/snmp.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/snmp.xml.in b/interface-definitions/snmp.xml.in
index 91c2715a0..7ec60b2e7 100644
--- a/interface-definitions/snmp.xml.in
+++ b/interface-definitions/snmp.xml.in
@@ -13,9 +13,9 @@
<properties>
<help>Community name</help>
<constraint>
- <regex>[a-zA-Z0-9\-_!]{1,100}</regex>
+ <regex>[a-zA-Z0-9\-_!@*#]{1,100}</regex>
</constraint>
- <constraintErrorMessage>Community string is limited to alphanumerical characters only with a total lenght of 100</constraintErrorMessage>
+ <constraintErrorMessage>Community string is limited to alphanumerical characters, !, @, * and # with a total lenght of 100</constraintErrorMessage>
</properties>
<children>
<leafNode name="authorization">