diff options
author | hagbard <vyosdev@derith.de> | 2018-08-20 16:39:53 +0000 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2018-08-20 16:58:32 +0000 |
commit | 2a4b380ecdf5c51a41dfee64652cd77789a8204c (patch) | |
tree | 6edbfc80ee233aff6475ddc5d9a74dcb5af123be /interface-definitions | |
parent | d3bb77e6bb031270e37ceb83354a1cad9b000317 (diff) | |
download | vyos-1x-2a4b380ecdf5c51a41dfee64652cd77789a8204c.tar.gz vyos-1x-2a4b380ecdf5c51a41dfee64652cd77789a8204c.zip |
regex fixed, at least 1 digit is required
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 eec7a404b..1437e9f0c 100644 --- a/interface-definitions/wireguard.xml +++ b/interface-definitions/wireguard.xml @@ -72,7 +72,7 @@ <properties> <help>how often send keep alives in seconds</help> <constraint> - <regex>^(1|[1-9][0-9]{0,5})$</regex> + <regex>^(1|[1-9][0-9]{1,5})$</regex> </constraint> <constraintErrorMessage>keepliave timer has to be between 1 and 99999 seconds</constraintErrorMessage> </properties> |