summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-dummy.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/interfaces-dummy.xml.in')
-rw-r--r--interface-definitions/interfaces-dummy.xml.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/interface-definitions/interfaces-dummy.xml.in b/interface-definitions/interfaces-dummy.xml.in
index 39809a610..135adfc10 100644
--- a/interface-definitions/interfaces-dummy.xml.in
+++ b/interface-definitions/interfaces-dummy.xml.in
@@ -7,7 +7,7 @@
<help>Dummy Interface</help>
<priority>300</priority>
<constraint>
- <regex>dum[0-9]+$</regex>
+ <regex>^dum[0-9]+$</regex>
</constraint>
<constraintErrorMessage>Dummy interface must be named dumN</constraintErrorMessage>
<valueHelp>
@@ -19,6 +19,7 @@
#include <include/address-ipv4-ipv6.xml.i>
#include <include/interface-description.xml.i>
#include <include/interface-disable.xml.i>
+ #include <include/interface-vrf.xml.i>
</children>
</tagNode>
</children>