summaryrefslogtreecommitdiffstats
path: root/usr/local/www/interfaces.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-12-25 03:49:57 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-12-25 03:49:57 +0000
commita815685ebdcffd3a095e187452589525190dba66 (patch)
treec0a6c1e21050e588184da09b8e33a1675f8ea3b1 /usr/local/www/interfaces.php
parentae4dce62e78f82cee93f8644cfc87dd52422a64d (diff)
downloadpfsense-a815685ebdcffd3a095e187452589525190dba66.zip
pfsense-a815685ebdcffd3a095e187452589525190dba66.tar.gz
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)
Diffstat (limited to 'usr/local/www/interfaces.php')
-rwxr-xr-xusr/local/www/interfaces.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/interfaces.php b/usr/local/www/interfaces.php
index 5424be5..6298b6d 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;
OpenPOWER on IntegriCloud