summaryrefslogtreecommitdiff
path: root/interface-definitions/wireguard.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2018-08-18 08:24:23 +0200
committerGitHub <noreply@github.com>2018-08-18 08:24:23 +0200
commit9a204594dd0ada8d117d37c9ad5f0d4a59ff43fd (patch)
tree7e65fd74b218110844c831f75ac501e0c46e32c7 /interface-definitions/wireguard.xml
parent3acb6381bc2a56e70a58b3a19ae817473f8dd5f4 (diff)
parent14f37d3ecbab133b0259de540ae16bd065494dd7 (diff)
downloadvyos-1x-9a204594dd0ada8d117d37c9ad5f0d4a59ff43fd.tar.gz
vyos-1x-9a204594dd0ada8d117d37c9ad5f0d4a59ff43fd.zip
Merge pull request #32 from hagbard-01/current
T783,427
Diffstat (limited to 'interface-definitions/wireguard.xml')
-rw-r--r--interface-definitions/wireguard.xml9
1 files changed, 9 insertions, 0 deletions
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 @@
<help>Remote endpoint</help>
</properties>
</leafNode>
+ <leafNode name="persistent-keepalive">
+ <properties>
+ <help>how often send keep alives in seconds</help>
+ <constraint>
+ <regex>^(1|[1-9][0-9]{0,5})$</regex>
+ </constraint>
+ <constraintErrorMessage>keepliave timer has to be between 1 and 99999 seconds</constraintErrorMessage>
+ </properties>
+ </leafNode>
</children>
</tagNode>