summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2018-08-20 16:39:53 +0000
committerhagbard <vyosdev@derith.de>2018-08-20 16:58:32 +0000
commit2a4b380ecdf5c51a41dfee64652cd77789a8204c (patch)
tree6edbfc80ee233aff6475ddc5d9a74dcb5af123be /interface-definitions
parentd3bb77e6bb031270e37ceb83354a1cad9b000317 (diff)
downloadvyos-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.xml2
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>