diff options
author | Christian Breunig <christian@breunig.cc> | 2023-02-10 19:45:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-10 19:45:52 +0100 |
commit | 847434e1e34ea66c41a0c77ff22321452fbe5f7b (patch) | |
tree | 048ae0c57eb8eb18adf03687358119795415b4b8 /interface-definitions/snmp.xml.in | |
parent | abb45b2dac6d21899b47f792f887c42e757f0a2f (diff) | |
parent | 011e6a2cdea8fca73f7c433de5e2d6bc22bd9c19 (diff) | |
download | vyos-1x-847434e1e34ea66c41a0c77ff22321452fbe5f7b.tar.gz vyos-1x-847434e1e34ea66c41a0c77ff22321452fbe5f7b.zip |
Merge pull request #1805 from nicolas-fort/T4857-frr-fix
T4857: snmp: Fix error when not defining client|network under community
Diffstat (limited to 'interface-definitions/snmp.xml.in')
-rw-r--r-- | interface-definitions/snmp.xml.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/interface-definitions/snmp.xml.in b/interface-definitions/snmp.xml.in index 10dd828a5..592db7f4e 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>[[:alnum:]-_!@*#]{1,100}</regex> </constraint> - <constraintErrorMessage>Community string is limited to alphanumerical characters, !, @, * and # 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"> @@ -65,6 +65,7 @@ </constraint> <multi/> </properties> + <defaultValue>0.0.0.0/0 ::/0</defaultValue> </leafNode> </children> </tagNode> |