summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/neighbor-update-source.xml.i
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/include/bgp/neighbor-update-source.xml.i')
-rw-r--r--interface-definitions/include/bgp/neighbor-update-source.xml.i7
1 files changed, 3 insertions, 4 deletions
diff --git a/interface-definitions/include/bgp/neighbor-update-source.xml.i b/interface-definitions/include/bgp/neighbor-update-source.xml.i
index 37faf2cce..92e817166 100644
--- a/interface-definitions/include/bgp/neighbor-update-source.xml.i
+++ b/interface-definitions/include/bgp/neighbor-update-source.xml.i
@@ -5,7 +5,7 @@
<help>Source IP of routing updates</help>
<completionHelp>
<script>${vyos_completion_dir}/list_local_ips.sh --both</script>
- <script>${vyos_completion_dir}/list_interfaces.py</script>
+ <script>${vyos_completion_dir}/list_interfaces</script>
</completionHelp>
<valueHelp>
<format>ipv4</format>
@@ -20,9 +20,8 @@
<description>Interface as route source</description>
</valueHelp>
<constraint>
- <validator name="ipv4-address"/>
- <validator name="ipv6-address"/>
- <validator name="interface-name"/>
+ <validator name="ip-address"/>
+ #include <include/constraint/interface-name.xml.i>
</constraint>
</properties>
</leafNode>