summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-10-29 20:58:37 +0200
committerChristian Poessinger <christian@poessinger.com>2022-10-29 21:01:16 +0200
commit3a1148ba060646852f354ef04e1c0c6bb8038a0e (patch)
tree5f8600513ec125efdae2649e791a10dce4912311 /interface-definitions
parentec202631ccb81a9a5ee08a97395acf19b2978bb5 (diff)
downloadvyos-1x-3a1148ba060646852f354ef04e1c0c6bb8038a0e.tar.gz
vyos-1x-3a1148ba060646852f354ef04e1c0c6bb8038a0e.zip
snmp: T4785: allow ! in community name
(cherry picked from commit dda62226353ebc198b4dbbd319412bb5d1d1ece2)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/snmp.xml.in2
1 files changed, 1 insertions, 1 deletions
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 @@
<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>
</properties>