summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2018-10-17 13:53:59 -0700
committerhagbard <vyosdev@derith.de>2018-10-17 13:53:59 -0700
commit19b69daa7c374b7fe34d57c99a8a972e1a6972e0 (patch)
tree2e7b545e81ee2ebdb1229a286a6addce0c903e5f
parentdb53284fb416d8d625b7a66c0b92df35b92a1f0e (diff)
downloadvyos-1x-19b69daa7c374b7fe34d57c99a8a972e1a6972e0.tar.gz
vyos-1x-19b69daa7c374b7fe34d57c99a8a972e1a6972e0.zip
Fixing check for local IP, using validator --is-any-host.
-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 51876d6d6..e6bf557cd 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -29,7 +29,7 @@
</valueHelp>
<multi/>
<constraint>
- <validator name="ip-prefix"/>
+ <validator name="ip-host"/>
</constraint>
</properties>
</leafNode>