summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-wireguard.xml.in
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2022-01-15 14:38:21 +0000
committerViacheslav <v.gletenko@vyos.io>2022-01-15 14:38:21 +0000
commitcb69b6e875c961b5a0d1be5a734bea1ec03a976d (patch)
tree93f794909ffd22c60caf6a23c6ece7056cd283ad /interface-definitions/interfaces-wireguard.xml.in
parentb5b9685c37aa48a88bdd697e4c46e94d274a5d95 (diff)
downloadvyos-1x-cb69b6e875c961b5a0d1be5a734bea1ec03a976d.tar.gz
vyos-1x-cb69b6e875c961b5a0d1be5a734bea1ec03a976d.zip
wireguard: T4183: Allow setting ipv6 link local addres for peer
Allow setting ipv6-link-local addresses as peer address for wireguard interfaces Add validator "ipv6-link-local"
Diffstat (limited to 'interface-definitions/interfaces-wireguard.xml.in')
-rw-r--r--interface-definitions/interfaces-wireguard.xml.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in
index 73328c16a..54f4233c2 100644
--- a/interface-definitions/interfaces-wireguard.xml.in
+++ b/interface-definitions/interfaces-wireguard.xml.in
@@ -99,6 +99,7 @@
</valueHelp>
<constraint>
<validator name="ip-address"/>
+ <validator name="ipv6-link-local"/>
</constraint>
</properties>
</leafNode>