summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-pppoe.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-29 19:51:50 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-29 19:51:50 +0200
commit80ecb1b7aaab47edeb355c3b74a763e940d88179 (patch)
treecb0951a838ccfafe7a154cf566461ece0280f0a9 /interface-definitions/interfaces-pppoe.xml.in
parent52155b9086fa18083efb601bcc9ba8807f147686 (diff)
downloadvyos-1x-80ecb1b7aaab47edeb355c3b74a763e940d88179.tar.gz
vyos-1x-80ecb1b7aaab47edeb355c3b74a763e940d88179.zip
xml: T4047: use full string match in the regex validator
Diffstat (limited to 'interface-definitions/interfaces-pppoe.xml.in')
-rw-r--r--interface-definitions/interfaces-pppoe.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/interfaces-pppoe.xml.in b/interface-definitions/interfaces-pppoe.xml.in
index 8cd8f8c86..664914baa 100644
--- a/interface-definitions/interfaces-pppoe.xml.in
+++ b/interface-definitions/interfaces-pppoe.xml.in
@@ -7,7 +7,7 @@
<help>Point-to-Point Protocol over Ethernet (PPPoE)</help>
<priority>322</priority>
<constraint>
- <regex>^pppoe[0-9]+$</regex>
+ <regex>pppoe[0-9]+</regex>
</constraint>
<constraintErrorMessage>PPPoE interface must be named pppoeN</constraintErrorMessage>
<valueHelp>
@@ -106,7 +106,7 @@
<properties>
<help>Service name, only connect to access concentrators advertising this</help>
<constraint>
- <regex>[a-zA-Z0-9]+$</regex>
+ <regex>[a-zA-Z0-9]+</regex>
</constraint>
<constraintErrorMessage>Service name must be alphanumeric only</constraintErrorMessage>
</properties>