diff options
author | Christian Breunig <christian@breunig.cc> | 2024-04-30 09:38:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-30 09:38:25 +0200 |
commit | 07826e81b35eb6f94aec37bcf71b64a80ad228de (patch) | |
tree | 3b8484917a35bcac2ddfe44d8617346963c189f5 /interface-definitions | |
parent | 7edaf47f0f582459d5324da39cd0da0937c30fa9 (diff) | |
parent | 5f31655a8925da4552440c497372dbc729c2610d (diff) | |
download | vyos-1x-07826e81b35eb6f94aec37bcf71b64a80ad228de.tar.gz vyos-1x-07826e81b35eb6f94aec37bcf71b64a80ad228de.zip |
Merge pull request #3378 from vyos/mergify/bp/sagitta/pr-3374
T6273: Allowed the use of "-" and "_" in PPPoE access-concentrator name (backport #3374)
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/pppoe-access-concentrator.xml.i | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/pppoe-access-concentrator.xml.i b/interface-definitions/include/pppoe-access-concentrator.xml.i index ccfcc1c49..8a75dae08 100644 --- a/interface-definitions/include/pppoe-access-concentrator.xml.i +++ b/interface-definitions/include/pppoe-access-concentrator.xml.i @@ -3,9 +3,9 @@ <properties> <help>Access concentrator name</help> <constraint> - <regex>[a-zA-Z0-9]{1,100}</regex> + #include <include/constraint/alpha-numeric-hyphen-underscore.xml.i> </constraint> - <constraintErrorMessage>Access-concentrator name must be alphanumerical only (max. 100 characters)</constraintErrorMessage> + <constraintErrorMessage>Access-concentrator name can only contain alpha-numeric letters, hyphen and underscores(max. 100 characters)</constraintErrorMessage> </properties> </leafNode> <!-- include end --> |