summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/vpn_ipsec.php')
-rw-r--r--usr/local/www/vpn_ipsec.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index 62e7dc5..75118b5 100644
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -102,7 +102,7 @@ if ($_GET['act'] == "delph1")
if ($_GET['act'] == "delph2")
{
- if ($a_phase1[$_GET['p1index']] && $a_phase2[$_GET['p2index']]) {
+ if ($a_phase1[$_GET['p1index']]) {
/* remove the phase2 entry */
foreach ($a_phase2 as $ph2idx => $ph2) {
if ($ph2['uniqid'] == $_GET['p2index']) {
OpenPOWER on IntegriCloud