From f184700bdb0c070be7f3bf9d9b2712581c29e798 Mon Sep 17 00:00:00 2001 From: hagbard Date: Fri, 17 Aug 2018 19:32:47 +0000 Subject: T783: conf mode persistent-keepalive implementation --- interface-definitions/wireguard.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'interface-definitions/wireguard.xml') diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml index 008f82a0b..eec7a404b 100644 --- a/interface-definitions/wireguard.xml +++ b/interface-definitions/wireguard.xml @@ -68,6 +68,15 @@ Remote endpoint + + + how often send keep alives in seconds + + ^(1|[1-9][0-9]{0,5})$ + + keepliave timer has to be between 1 and 99999 seconds + + -- cgit v1.2.3 From 2a4b380ecdf5c51a41dfee64652cd77789a8204c Mon Sep 17 00:00:00 2001 From: hagbard Date: Mon, 20 Aug 2018 16:39:53 +0000 Subject: regex fixed, at least 1 digit is required --- interface-definitions/wireguard.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interface-definitions/wireguard.xml') 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 @@ how often send keep alives in seconds - ^(1|[1-9][0-9]{0,5})$ + ^(1|[1-9][0-9]{1,5})$ keepliave timer has to be between 1 and 99999 seconds -- cgit v1.2.3