]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Revert "IPsec: Try to restart always-on tunnels immediately"
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 19 Apr 2018 14:36:37 +0000 (15:36 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 19 Apr 2018 14:36:37 +0000 (15:36 +0100)
This reverts commit a261cb06c6cdd3ba14ad0163c8c9e714ae94fc5b.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/vpnmain.cgi

index a52b4d64d9b48d84babe8ec8d1220e4b3d4ddd01..378acb3268e0f29c7fa27c53461d98f524067dc9 100644 (file)
@@ -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