diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-10-31 06:19:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-31 06:19:39 +0100 |
commit | d5e512bec8b7b3a8dd3aa4952513504c3c87f291 (patch) | |
tree | 67e84719ebd9c33320b8c5ff484186af400f170b | |
parent | ec202631ccb81a9a5ee08a97395acf19b2978bb5 (diff) | |
parent | 755e75f0f0309f304e5875737fc1944c9550531a (diff) | |
download | vyos-1x-d5e512bec8b7b3a8dd3aa4952513504c3c87f291.tar.gz vyos-1x-d5e512bec8b7b3a8dd3aa4952513504c3c87f291.zip |
Merge pull request #1629 from c-po/t4785-snmp-equuleus
snmp: T4785: allow !, @, * and # in SNMP community name (equuleus)
-rw-r--r-- | interface-definitions/snmp.xml.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/snmp.xml.in b/interface-definitions/snmp.xml.in index 1efe5e726..1067aa8a8 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"> |