summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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