summaryrefslogtreecommitdiff
path: root/interface-definitions/include/dhcp-interface.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/dhcp-interface.xml.i')
-rw-r--r--interface-definitions/include/dhcp-interface.xml.i4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/include/dhcp-interface.xml.i b/interface-definitions/include/dhcp-interface.xml.i
index 939b45f15..b5c94cb24 100644
--- a/interface-definitions/include/dhcp-interface.xml.i
+++ b/interface-definitions/include/dhcp-interface.xml.i
@@ -2,14 +2,14 @@
<properties>
<help>DHCP interface supplying next-hop IP address</help>
<completionHelp>
- <script>${vyos_completion_dir}/list_interfaces.py</script>
+ <script>${vyos_completion_dir}/list_interfaces</script>
</completionHelp>
<valueHelp>
<format>txt</format>
<description>DHCP interface name</description>
</valueHelp>
<constraint>
- <validator name="interface-name"/>
+ #include <include/constraint/interface-name.xml.i>
</constraint>
</properties>
</leafNode>