summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-ospfv3.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-05 21:01:31 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-05 22:42:29 +0100
commit96d51fa69fbe072fe5c9e8efd4fa6a89d8a2771a (patch)
tree8d2ddfca0ce711059081a4ce9d65ef2f80449248 /interface-definitions/protocols-ospfv3.xml.in
parent44f6896311a559687458a4a6c4fadb86b0a91646 (diff)
downloadvyos-1x-96d51fa69fbe072fe5c9e8efd4fa6a89d8a2771a.tar.gz
vyos-1x-96d51fa69fbe072fe5c9e8efd4fa6a89d8a2771a.zip
xml: add new common "interface-name" validator
Diffstat (limited to 'interface-definitions/protocols-ospfv3.xml.in')
-rw-r--r--interface-definitions/protocols-ospfv3.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/protocols-ospfv3.xml.in b/interface-definitions/protocols-ospfv3.xml.in
index 7f80f9f9d..bd6a55b45 100644
--- a/interface-definitions/protocols-ospfv3.xml.in
+++ b/interface-definitions/protocols-ospfv3.xml.in
@@ -52,7 +52,7 @@
<description>Interface used for routing information exchange</description>
</valueHelp>
<constraint>
- <regex>^(br|bond|dum|en|eth|gnv|peth|tun|vti|vxlan|wg|wlan)[0-9]+|lo$</regex>
+ <validator name="interface-name"/>
</constraint>
<multi/>
</properties>