summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhagbard-01 <39653662+hagbard-01@users.noreply.github.com>2018-10-10 14:24:42 -0700
committerGitHub <noreply@github.com>2018-10-10 14:24:42 -0700
commit24d76821ede9966127883840a4bd199807926fac (patch)
tree1884ce21c9856ec26c77513750e27c6dea18980c
parent2b51af313d572e2d2dec51852215c70bec144a67 (diff)
parentbde737236d7f6b9680f4f42fa95152258af6bf98 (diff)
downloadvyos-1x-24d76821ede9966127883840a4bd199807926fac.tar.gz
vyos-1x-24d76821ede9966127883840a4bd199807926fac.zip
Merge pull request #53 from hagbard-01/current
T886: validation logic in `interfaces wireguard wgX address x.x.x.x b…
-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 5e9c41ace..51876d6d6 100644
--- a/interface-definitions/wireguard.xml
+++ b/interface-definitions/wireguard.xml
@@ -29,7 +29,7 @@
</valueHelp>
<multi/>
<constraint>
- <validator name="interface-address"/>
+ <validator name="ip-prefix"/>
</constraint>
</properties>
</leafNode>