summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-bfd.xml
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-08-19 12:04:56 -0400
committerDaniil Baturin <daniil@baturin.org>2019-08-19 12:04:56 -0400
commit212348145838e8791474b987efc624cba3fb8b00 (patch)
treec4914439531f177fd24fb083b785446f0c35c910 /interface-definitions/protocols-bfd.xml
parent589952faadcf7700702b24390c1d654706f3a857 (diff)
parentdc8cfa6dfd1d95890b3e14c928e3d2064451a851 (diff)
downloadvyos-1x-212348145838e8791474b987efc624cba3fb8b00.tar.gz
vyos-1x-212348145838e8791474b987efc624cba3fb8b00.zip
Merge branch 'current' into equuleus
Diffstat (limited to 'interface-definitions/protocols-bfd.xml')
-rw-r--r--interface-definitions/protocols-bfd.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/interface-definitions/protocols-bfd.xml b/interface-definitions/protocols-bfd.xml
index f2d7d7d2f..62e2c87b9 100644
--- a/interface-definitions/protocols-bfd.xml
+++ b/interface-definitions/protocols-bfd.xml
@@ -20,6 +20,10 @@
<format>ipv6</format>
<description>BFD peer IPv6 address</description>
</valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ <validator name="ipv6-address"/>
+ </constraint>
</properties>
<children>
<node name="source">
@@ -46,6 +50,10 @@
<format>ipv6</format>
<description>Local IPv6 address used to connect to the peer</description>
</valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ <validator name="ipv6-address"/>
+ </constraint>
</properties>
</leafNode>
</children>