summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-02-11 08:51:20 -0800
committerDaniil Baturin <daniil@baturin.org>2019-02-28 14:58:12 +0100
commitcfbfeb7ce87802db0028e3a5f857ea75e6035ca3 (patch)
tree9154d24d7885dc56b65ad4547fd2c4559b1f8a8c /interface-definitions
parent74fde01050df870c5a15181afad00ed88957420a (diff)
downloadvyos-1x-cfbfeb7ce87802db0028e3a5f857ea75e6035ca3.tar.gz
vyos-1x-cfbfeb7ce87802db0028e3a5f857ea75e6035ca3.zip
IP validation for allowed ip corrected.
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/wireguard.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml
index 2534f1e9c..05070de09 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -107,7 +107,7 @@
<properties>
<help>IP addresses allowed to traverse the peer</help>
<constraint>
- <validator name="ip-host"/>
+ <validator name="ip-prefix"/>
</constraint>
<multi/>
</properties>