summaryrefslogtreecommitdiff
path: root/interface-definitions/include/routing-passive-interface.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/routing-passive-interface.xml.i')
-rw-r--r--interface-definitions/include/routing-passive-interface.xml.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/routing-passive-interface.xml.i b/interface-definitions/include/routing-passive-interface.xml.i
index 095b683de..8fa0d0fe7 100644
--- a/interface-definitions/include/routing-passive-interface.xml.i
+++ b/interface-definitions/include/routing-passive-interface.xml.i
@@ -4,7 +4,7 @@
<help>Suppress routing updates on an interface</help>
<completionHelp>
<list>default</list>
- <script>${vyos_completion_dir}/list_interfaces.py</script>
+ <script>${vyos_completion_dir}/list_interfaces</script>
</completionHelp>
<valueHelp>
<format>txt</format>
@@ -16,7 +16,7 @@
</valueHelp>
<constraint>
<regex>(default)</regex>
- <validator name="interface-name"/>
+ #include <include/constraint/interface-name.xml.i>
</constraint>
<multi/>
</properties>