summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
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 8c2cc9d96..1e22c6f2e 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -20,7 +20,7 @@
<properties>
<help>IP address</help>
<constraint>
- <validator name="ip-host"/>
+ <validator name="cidr"/>
</constraint>
<valueHelp>
<format>ipv4-address</format>