summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets
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:34 +0100
commit87f2ea892aac5b20913ed15db8892d11aee83042 (patch)
treea51dbe03e1f1b940601daa70ff68abe551f4c4d2 /usr/local/www/widgets
parentb4997579b5ff9341e3c3e6246479ce771c8221f2 (diff)
downloadpfsense-87f2ea892aac5b20913ed15db8892d11aee83042.zip
pfsense-87f2ea892aac5b20913ed15db8892d11aee83042.tar.gz
Correct skipping of disabled tunnels
Diffstat (limited to 'usr/local/www/widgets')
-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