summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-vxlan.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-04-03 14:26:28 +0200
committerChristian Poessinger <christian@poessinger.com>2020-04-03 14:26:28 +0200
commit2fa8cf6598542e5bdf13e99da22435690252912b (patch)
tree08f15e5475300f3cebcd29bfe6362a6e98a9dcd9 /interface-definitions/interfaces-vxlan.xml.in
parenta509d5ee53f42912d9722c9aae890e2ca6967680 (diff)
downloadvyos-1x-2fa8cf6598542e5bdf13e99da22435690252912b.tar.gz
vyos-1x-2fa8cf6598542e5bdf13e99da22435690252912b.zip
interfaces: XML: constraint: add start of line ^ to regex
Diffstat (limited to 'interface-definitions/interfaces-vxlan.xml.in')
-rw-r--r--interface-definitions/interfaces-vxlan.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/interfaces-vxlan.xml.in b/interface-definitions/interfaces-vxlan.xml.in
index 70c45d1fd..3108817b3 100644
--- a/interface-definitions/interfaces-vxlan.xml.in
+++ b/interface-definitions/interfaces-vxlan.xml.in
@@ -7,7 +7,7 @@
<help>Virtual Extensible LAN (VXLAN) Interface</help>
<priority>460</priority>
<constraint>
- <regex>vxlan[0-9]+$</regex>
+ <regex>^vxlan[0-9]+$</regex>
</constraint>
<constraintErrorMessage>VXLAN interface must be named vxlanN</constraintErrorMessage>
<valueHelp>