]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Revert "IPsec: Try to restart always-on tunnels immediately" core119
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Feb 2018 11:03:03 +0000 (11:03 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 28 Feb 2018 11:04:57 +0000 (11:04 +0000)
This reverts commit a261cb06c6cdd3ba14ad0163c8c9e714ae94fc5b.

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

index 2a0351ea04c4f31f7b26d0d7ee3e40125f8a6f2b..17873d62bea2933affb1d6fa662e66eb63f3eb3d 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