summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-04-30 08:34:33 +0200
committerGitHub <noreply@github.com>2024-04-30 08:34:33 +0200
commitf07bdb139432259bec5af6659a8d6e4fbc7cb4be (patch)
tree8192f9457d6db0d5c5ae2dadcf667e4eb47005a8 /interface-definitions
parenta107a93ca1cf3b8b9b9223319d91e1741414fd40 (diff)
parentde38b01710958b7f7dababcff9557e4be98c8450 (diff)
downloadvyos-1x-f07bdb139432259bec5af6659a8d6e4fbc7cb4be.tar.gz
vyos-1x-f07bdb139432259bec5af6659a8d6e4fbc7cb4be.zip
Merge pull request #3374 from aapostoliuk/T6273
T6273: Allowed the use of "-" and "_" in PPPoE access-concentrator name
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/pppoe-access-concentrator.xml.i4
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 -->