summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-02-11 08:51:20 -0800
committerhagbard <vyosdev@derith.de>2019-02-11 08:51:20 -0800
commit1842fc9fdbcfa877e42714eaf620dff18ff9859c (patch)
treeb0dc6720f91187802a0c120bc9ba4f71f8c6f44f /interface-definitions
parentad011db299196a2e5defa7d8030be149d71d53ee (diff)
downloadvyos-1x-1842fc9fdbcfa877e42714eaf620dff18ff9859c.tar.gz
vyos-1x-1842fc9fdbcfa877e42714eaf620dff18ff9859c.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 d7c3bc447..cc86855a5 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -113,7 +113,7 @@
<properties>
<help>IP addresses allowed to traverse the peer</help>
<constraint>
- <validator name="ip-host"/>
+ <validator name="ip-prefix"/>
</constraint>
<multi/>
</properties>