diff options
author | zsdc <taras@sentrium.io> | 2019-10-28 17:41:15 +0200 |
---|---|---|
committer | zsdc <taras@sentrium.io> | 2019-10-28 17:41:15 +0200 |
commit | 8ae02a738df9746ad648a9611ae03e62b5af9e5d (patch) | |
tree | 43e7493b9911f6da53d82ca371451bbf7eb64844 /interface-definitions/snmp.xml | |
parent | 3cacaf94f05fe92d5eda1574a07e5fd49881d97d (diff) | |
download | vyos-1x-8ae02a738df9746ad648a9611ae03e62b5af9e5d.tar.gz vyos-1x-8ae02a738df9746ad648a9611ae03e62b5af9e5d.zip |
[XML templates] T1772: Changed old hacks to proper regex, according to the fix
Diffstat (limited to 'interface-definitions/snmp.xml')
-rw-r--r-- | interface-definitions/snmp.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/snmp.xml b/interface-definitions/snmp.xml index 1634bfb64..c5f424e6f 100644 --- a/interface-definitions/snmp.xml +++ b/interface-definitions/snmp.xml @@ -604,7 +604,7 @@ <properties> <help>Specifies the oid</help> <constraint> - <regex>^[0-9]+(\\.[0-9]+)*$</regex> + <regex>^[0-9]+(\.[0-9]+)*$</regex> </constraint> <constraintErrorMessage>OID must start from a number</constraintErrorMessage> </properties> @@ -618,7 +618,7 @@ <properties> <help>Defines a bit-mask that is indicating which subidentifiers of the associated subtree OID should be regarded as significant</help> <constraint> - <regex>^[0-9a-f]{2}([\\.:][0-9a-f]{2})*$</regex> + <regex>^[0-9a-f]{2}([\.:][0-9a-f]{2})*$</regex> </constraint> <constraintErrorMessage>MASK is a list of hex octets, separated by '.' or ':'</constraintErrorMessage> </properties> |