summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>