summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-12-28 15:42:48 +0000
committerViacheslav <v.gletenko@vyos.io>2022-01-03 08:32:26 +0000
commit1da1701ce75d0685a0587ce6f0365a0be447c662 (patch)
tree66392d8abdff5dcbf85d6c71bf948203b5a795b7 /interface-definitions
parent5c5e283f8a964f5bbb3d838d1c0aabdee4e2032b (diff)
downloadvyos-1x-1da1701ce75d0685a0587ce6f0365a0be447c662.tar.gz
vyos-1x-1da1701ce75d0685a0587ce6f0365a0be447c662.zip
listen-address: T4110: Ability to set IPv6 link-local addresses
Some services allows to set link-local IPv6 addresses as listen-address. Allow it and add a validator 'ipv6-link-local' and extend listen-address.xml.i to this validator
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/include/listen-address.xml.i1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/include/listen-address.xml.i b/interface-definitions/include/listen-address.xml.i
index 9b86851c7..f6ee676f4 100644
--- a/interface-definitions/include/listen-address.xml.i
+++ b/interface-definitions/include/listen-address.xml.i
@@ -17,6 +17,7 @@
<constraint>
<validator name="ipv4-address"/>
<validator name="ipv6-address"/>
+ <validator name="ipv6-link-local"/>
</constraint>
</properties>
</leafNode>