summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-04-03 10:48:16 +0000
committerViacheslav Hletenko <v.gletenko@vyos.io>2023-04-03 10:48:16 +0000
commit16a1a69d6e74166001b296a8f66c26c8c00be1f1 (patch)
treee390c8723e4189a8c9808e99a4bde5a5ad9754b7
parentb65296a0ff39e66d87e916971477cce351f6d5a5 (diff)
downloadvyos-1x-16a1a69d6e74166001b296a8f66c26c8c00be1f1.tar.gz
vyos-1x-16a1a69d6e74166001b296a8f66c26c8c00be1f1.zip
T5139: IPSec add IKE lifetime 0 for no rekeying
IKE lifetime should starting from 0 for disabling rekeying
-rw-r--r--interface-definitions/vpn-ipsec.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/vpn-ipsec.xml.in b/interface-definitions/vpn-ipsec.xml.in
index 1b3a5532e..64cfbda08 100644
--- a/interface-definitions/vpn-ipsec.xml.in
+++ b/interface-definitions/vpn-ipsec.xml.in
@@ -357,11 +357,11 @@
<properties>
<help>IKE lifetime</help>
<valueHelp>
- <format>u32:30-86400</format>
+ <format>u32:0-86400</format>
<description>IKE lifetime in seconds</description>
</valueHelp>
<constraint>
- <validator name="numeric" argument="--range 30-86400"/>
+ <validator name="numeric" argument="--range 0-86400"/>
</constraint>
</properties>
<defaultValue>28800</defaultValue>