summaryrefslogtreecommitdiff
path: root/interface-definitions/service-upnp.xml.in
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-12-14 09:06:27 -0600
committerGitHub <noreply@github.com>2022-12-14 09:06:27 -0600
commit6095dfec48cefbdafe77d49325a122acfad1c372 (patch)
treefc00f4a3ad5fdd1b30f62c3af58f5445d8c0184d /interface-definitions/service-upnp.xml.in
parent0c5416e9e629a6f9028c85fe5313f43d3484860a (diff)
parentf0bc6c62016d285f0645c4b3ba8b1451c40c637f (diff)
downloadvyos-1x-6095dfec48cefbdafe77d49325a122acfad1c372.tar.gz
vyos-1x-6095dfec48cefbdafe77d49325a122acfad1c372.zip
Merge pull request #1705 from jestabro/validator-interface-name
validators: T4875: use file-path to replace validator 'interface-name'
Diffstat (limited to 'interface-definitions/service-upnp.xml.in')
-rw-r--r--interface-definitions/service-upnp.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/service-upnp.xml.in b/interface-definitions/service-upnp.xml.in
index ec23d87df..79d8ae42e 100644
--- a/interface-definitions/service-upnp.xml.in
+++ b/interface-definitions/service-upnp.xml.in
@@ -24,7 +24,7 @@
<script>${vyos_completion_dir}/list_interfaces.py</script>
</completionHelp>
<constraint>
- <validator name="interface-name" />
+ #include <include/constraint/interface-name.xml.in>
</constraint>
</properties>
</leafNode>
@@ -119,7 +119,7 @@
</valueHelp>
<multi/>
<constraint>
- <validator name="interface-name" />
+ #include <include/constraint/interface-name.xml.in>
<validator name="ipv4-address"/>
<validator name="ipv4-prefix"/>
<validator name="ipv6-address"/>