summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-12 21:26:56 +0100
committerChristian Breunig <christian@breunig.cc>2023-02-12 21:26:56 +0100
commit945f27cd4c58fe23ac7a5a77c9af7fa4c223ff21 (patch)
tree2458afb7e302f68f94479de62949a8fef317b437 /interface-definitions/include/interface
parentbd9416a6aa9d5d0a746dc2cebc8d0330fd27d1a2 (diff)
downloadvyos-1x-945f27cd4c58fe23ac7a5a77c9af7fa4c223ff21.tar.gz
vyos-1x-945f27cd4c58fe23ac7a5a77c9af7fa4c223ff21.zip
pppoe: wwan: T4998: fix username not accepting dot (.)
This fixes a regressin introduced in commit e22e9c9210cb5 ("wwan: T3622: add constraint for username/password CLI nodes").
Diffstat (limited to 'interface-definitions/include/interface')
-rw-r--r--interface-definitions/include/interface/authentication.xml.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/interface/authentication.xml.i b/interface-definitions/include/interface/authentication.xml.i
index 8bb094da7..4d447f687 100644
--- a/interface-definitions/include/interface/authentication.xml.i
+++ b/interface-definitions/include/interface/authentication.xml.i
@@ -12,9 +12,9 @@
<description>Username</description>
</valueHelp>
<constraint>
- <regex>[[:alnum:]][-_#@[:alnum:]]{0,127}</regex>
+ <regex>[[:ascii:]]{1,128}</regex>
</constraint>
- <constraintErrorMessage>Username is limited to alphanumerical characters, -, _, #, and @ with a total lenght of 128</constraintErrorMessage>
+ <constraintErrorMessage>Username is limited to ASCII characters only, with a total lenght of 128</constraintErrorMessage>
</properties>
</leafNode>
<leafNode name="password">