summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-03-26 17:43:19 +0000
committerErmal <eri@pfsense.org>2014-03-26 17:43:19 +0000
commit6e331564545a55fa6fce94933434fb71f0fc7f37 (patch)
treec0e826a87fc6673fb61d216f236dee1bb5d4d3ab /usr/local/www/vpn_ipsec.php
parentb305f79584205c2094746288a608c9f8eac6936a (diff)
downloadpfsense-6e331564545a55fa6fce94933434fb71f0fc7f37.zip
pfsense-6e331564545a55fa6fce94933434fb71f0fc7f37.tar.gz
Remove unused function
Diffstat (limited to 'usr/local/www/vpn_ipsec.php')
-rw-r--r--usr/local/www/vpn_ipsec.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index c94584e..def7469 100644
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -88,7 +88,6 @@ if ($_GET['act'] == "delph1")
$ikeid = $a_phase1[$_GET['p1index']]['ikeid'];
foreach ($a_phase2 as $p2index => $ph2tmp)
if ($ph2tmp['ikeid'] == $ikeid) {
- remove_tunnel_spd_policy($a_phase1[$_GET['p1index']],$a_phase2[$p2index]);
unset($a_phase2[$p2index]);
}
@@ -105,7 +104,6 @@ if ($_GET['act'] == "delph1")
if ($_GET['act'] == "delph2")
{
if ($a_phase1[$_GET['p1index']] && $a_phase2[$_GET['p2index']]) {
- remove_tunnel_spd_policy($a_phase1[$_GET['p1index']],$a_phase2[$_GET['p2index']]);
/* remove the phase2 entry */
unset($a_phase2[$_GET['p2index']]);
vpn_ipsec_configure();
OpenPOWER on IntegriCloud