summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-bfd.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/protocols-bfd.xml.in')
-rw-r--r--interface-definitions/protocols-bfd.xml.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/interface-definitions/protocols-bfd.xml.in b/interface-definitions/protocols-bfd.xml.in
index edbac8d0e..9048cf5c2 100644
--- a/interface-definitions/protocols-bfd.xml.in
+++ b/interface-definitions/protocols-bfd.xml.in
@@ -21,8 +21,7 @@
<description>BFD peer IPv6 address</description>
</valueHelp>
<constraint>
- <validator name="ipv4-address"/>
- <validator name="ipv6-address"/>
+ <validator name="ip-address"/>
</constraint>
</properties>
<children>
@@ -48,8 +47,7 @@
<description>Local IPv6 address used to connect to the peer</description>
</valueHelp>
<constraint>
- <validator name="ipv4-address"/>
- <validator name="ipv6-address"/>
+ <validator name="ip-address"/>
</constraint>
</properties>
</leafNode>