summaryrefslogtreecommitdiff
path: root/interface-definitions/vpn_ipsec.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-27 11:04:36 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-27 11:05:14 +0200
commitcfd4d283ff0297372248b4ec57f67fd36dd33fc2 (patch)
treeeecfcb72e68515b94034b9d18eaa712b3848d5f2 /interface-definitions/vpn_ipsec.xml.in
parentc2dfb24a0672ea93a4262feeddd6929275eb08cf (diff)
downloadvyos-1x-cfd4d283ff0297372248b4ec57f67fd36dd33fc2.tar.gz
vyos-1x-cfd4d283ff0297372248b4ec57f67fd36dd33fc2.zip
ipsec: T1210: Jinj2 template did not honor inactivity/timeout setting
Diffstat (limited to 'interface-definitions/vpn_ipsec.xml.in')
-rw-r--r--interface-definitions/vpn_ipsec.xml.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/interface-definitions/vpn_ipsec.xml.in b/interface-definitions/vpn_ipsec.xml.in
index b0dba4bce..ed4941efc 100644
--- a/interface-definitions/vpn_ipsec.xml.in
+++ b/interface-definitions/vpn_ipsec.xml.in
@@ -757,11 +757,15 @@
<properties>
<help>Timeout to close connection if no data is transmitted</help>
<valueHelp>
- <format>u32:10-86400</format>
+ <format>u32:0</format>
+ <description>Disable inactivity checks</description>
+ </valueHelp>
+ <valueHelp>
+ <format>u32:1-86400</format>
<description>Timeout in seconds (default 28800)</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 10-86400"/>
+ <validator name="numeric" argument="--range 0-86400"/>
</constraint>
</properties>
<defaultValue>28800</defaultValue>