diff options
author | hagbard <vyosdev@derith.de> | 2019-06-19 10:55:13 -0700 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-07-23 22:28:43 +0200 |
commit | 23fe16920c85b486bb4886ff1c78bc9fd49cd2e3 (patch) | |
tree | 7c27b112a05e3fa05d7a99bb6184cf350d3a2acb /interface-definitions | |
parent | f54829bd7710509655f28ec21482d1010c11ec9a (diff) | |
download | vyos-1x-23fe16920c85b486bb4886ff1c78bc9fd49cd2e3.tar.gz vyos-1x-23fe16920c85b486bb4886ff1c78bc9fd49cd2e3.zip |
[wireguard] T1425 - assign a /31 address on Wireguard interface
- added a validator for checking if the address is any cidr noted address
(cherry picked from commit 2ee0eff1bd04ef02b0769341eee22543f8011b68)
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/wireguard.xml | 2 |
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> |