summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-08-29 00:16:20 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-08-29 00:16:20 +0000
commitc82c89acf3be1991562c9e6c34c8ed8d51a493ad (patch)
tree5f2f3ccc57ba55f10dd61400bb7e36cbfe6d3064 /usr/local/www/vpn_ipsec.php
parentb2a189a859bd432c3df706249b42f08951912d54 (diff)
downloadpfsense-c82c89acf3be1991562c9e6c34c8ed8d51a493ad.zip
pfsense-c82c89acf3be1991562c9e6c34c8ed8d51a493ad.tar.gz
Leave $j alone
Diffstat (limited to 'usr/local/www/vpn_ipsec.php')
-rwxr-xr-xusr/local/www/vpn_ipsec.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index e9eb898..c3948f3 100755
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -293,10 +293,8 @@ include("head.inc");
<?php
$phase2count=0;
foreach ($a_phase2 as $ph2ent) {
- if ($ph2ent['ikeid'] != $ph1ent['ikeid']) {
- $j++;
+ if ($ph2ent['ikeid'] != $ph1ent['ikeid'])
continue;
- }
if (isset( $ph2ent['disabled']) || isset($ph1ent['disabled']))
continue;
$phase2count++;
OpenPOWER on IntegriCloud