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.i3
1 files changed, 1 insertions, 2 deletions
diff --git a/interface-definitions/include/bgp/neighbor-update-source.xml.i b/interface-definitions/include/bgp/neighbor-update-source.xml.i
index c6aa776c2..92e817166 100644
--- a/interface-definitions/include/bgp/neighbor-update-source.xml.i
+++ b/interface-definitions/include/bgp/neighbor-update-source.xml.i
@@ -20,8 +20,7 @@
<description>Interface as route source</description>
</valueHelp>
<constraint>
- <validator name="ipv4-address"/>
- <validator name="ipv6-address"/>
+ <validator name="ip-address"/>
#include <include/constraint/interface-name.xml.i>
</constraint>
</properties>