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 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>