summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/vpn_ipsec.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index cd5ee06..7d5fdfb 100755
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -92,12 +92,8 @@ if ($_GET['act'] == "delph1")
unset($a_phase2[$p2index]);
}
- /* needs to guarantee that SPDs will be removed before phase 1 */
- vpn_ipsec_refresh_policies();
-
/* remove the phase1 entry */
unset($a_phase1[$_GET['p1index']]);
- vpn_ipsec_refresh_policies();
vpn_ipsec_configure();
write_config();
filter_configure();
@@ -112,7 +108,6 @@ if ($_GET['act'] == "delph2")
remove_tunnel_spd_policy($a_phase1[$_GET['p1index']],$a_phase2[$_GET['p2index']]);
/* remove the phase2 entry */
unset($a_phase2[$_GET['p2index']]);
- vpn_ipsec_refresh_policies();
vpn_ipsec_configure();
filter_configure();
write_config();
OpenPOWER on IntegriCloud