From a815685ebdcffd3a095e187452589525190dba66 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 25 Dec 2008 03:49:57 +0000 Subject: [PATCH] Restart VPN -> IPSEC after interface changes. This fixes the bug where the VPN tunnel goes offline after making interface changes that I just encountered after I had made no changes (was saving the interface to restart RRD processes and IPSEC went down in the process) --- usr/local/www/interfaces.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php index 5424be568b..6298b6d2ce 100755 --- a/usr/local/www/interfaces.php +++ b/usr/local/www/interfaces.php @@ -252,6 +252,8 @@ if ($_POST['apply']) { filter_configure(); /* set up static routes */ system_routing_configure(); + /* start IPsec tunnels */ + vpn_ipsec_configure(); } header("Location: interfaces.php?if={$if}"); exit;