]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
Fix accidentially reverted IKE lifetime limit to 24 hours
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 10 Mar 2020 13:37:18 +0000 (13:37 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 30 Mar 2020 17:21:25 +0000 (17:21 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
html/cgi-bin/vpnmain.cgi
langs/de/cgi-bin/de.pl

index 43cdc5aa04386bc9b065a80c7684f7cfac55f85d..bfa60d27d17723567cb9b6c9bd258092dfbbf0ab 100644 (file)
@@ -2384,7 +2384,7 @@ if(($cgiparams{'ACTION'} eq $Lang::tr{'advanced'}) ||
                        $errormessage = $Lang::tr{'invalid input for ike lifetime'};
                        goto ADVANCED_ERROR;
                }
-               if ($cgiparams{'IKE_LIFETIME'} < 1 || $cgiparams{'IKE_LIFETIME'} > 8) {
+               if ($cgiparams{'IKE_LIFETIME'} < 1 || $cgiparams{'IKE_LIFETIME'} > 24) {
                        $errormessage = $Lang::tr{'ike lifetime should be between 1 and 8 hours'};
                        goto ADVANCED_ERROR;
                }
index fb676b8680d8ef7dabf5e27c04c114e04f17befc..c3702cc098bc8447de28b0739864ce19e960a699 100644 (file)
 'ike integrity' => 'IKE-Integrität:',
 'ike lifetime' => 'IKE-Lebensdauer:',
 'ike lifetime should be between 1 and 24 hours' => 'IKE Lebensdauer sollte zwischen 1 und 24 Stunden betragen.',
-'ike lifetime should be between 1 and 8 hours' => 'Die IKE-Laufzeit sollte zwischen einer und acht Stunden betragen',
 'imei' => 'IMEI',
 'import' => 'Import',
 'importkey' => 'PSK importieren',