From: Michael Tremer Date: Thu, 19 Apr 2018 14:36:37 +0000 (+0100) Subject: Revert "IPsec: Try to restart always-on tunnels immediately" X-Git-Tag: v2.21-core122~193 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=4cd51e20ae17ee55e46708650055727cffe3443a;hp=bbaa7993bd99d0e31145f84277861fd8dbde3e34 Revert "IPsec: Try to restart always-on tunnels immediately" This reverts commit a261cb06c6cdd3ba14ad0163c8c9e714ae94fc5b. Signed-off-by: Michael Tremer --- diff --git a/html/cgi-bin/vpnmain.cgi b/html/cgi-bin/vpnmain.cgi index a52b4d64d9..378acb3268 100644 --- a/html/cgi-bin/vpnmain.cgi +++ b/html/cgi-bin/vpnmain.cgi @@ -436,12 +436,6 @@ sub writeipsecfiles { if ($start_action eq 'route' && $inactivity_timeout > 0) { print CONF "\tinactivity=$inactivity_timeout\n"; } - - # Restart the connection immediately when it has gone down - # unexpectedly - if ($start_action eq 'start') { - print CONF "\tcloseaction=restart\n"; - } } # Fragmentation