summaryrefslogtreecommitdiff
path: root/interface-definitions/snmp.xml
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/snmp.xml')
-rw-r--r--interface-definitions/snmp.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/snmp.xml b/interface-definitions/snmp.xml
index 76885a02a..103aa39d7 100644
--- a/interface-definitions/snmp.xml
+++ b/interface-definitions/snmp.xml
@@ -13,9 +13,9 @@
<properties>
<help>Community name [REQUIRED]</help>
<constraint>
- <regex>^[^%]+$</regex>
+ <regex>^[a-zA-Z0-9\-_]{1,100}</regex>
</constraint>
- <constraintErrorMessage>Community string may not contain '%'</constraintErrorMessage>
+ <constraintErrorMessage>Community string is limited to alphanumerical characters only with a total lenght of 100</constraintErrorMessage>
</properties>
<children>
<leafNode name="authorization">