summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2014-12-24 18:26:22 +0100
committerErmal LUÇI <eri@pfsense.org>2014-12-24 18:26:22 +0100
commitd1e53a1e2ffa4546295931f7fc6b44216c4fa8d7 (patch)
treebe096cd7e21eb708669eabd043c875f628e91d01 /usr/local
parent17318511f9d45ab79670f6d1ee4d1d19481b4254 (diff)
downloadpfsense-d1e53a1e2ffa4546295931f7fc6b44216c4fa8d7.zip
pfsense-d1e53a1e2ffa4546295931f7fc6b44216c4fa8d7.tar.gz
Correct skipping of disabled tunnels
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/widgets/widgets/ipsec.widget.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/ipsec.widget.php b/usr/local/www/widgets/widgets/ipsec.widget.php
index 81c0159..0448ac7 100644
--- a/usr/local/www/widgets/widgets/ipsec.widget.php
+++ b/usr/local/www/widgets/widgets/ipsec.widget.php
@@ -73,7 +73,7 @@ if (isset($config['ipsec']['phase1'])) { ?>
continue;
ipsec_lookup_phase1($ph2ent,$ph1ent);
- if (isset($ph1ent['disabled']) && isset($ph2ent['disabled']))
+ if (isset($ph1ent['disabled']) || isset($ph2ent['disabled']))
continue;
$ph2number = ipsec_get_number_of_phase2($ph1ent['ikeid']);
OpenPOWER on IntegriCloud