diff options
author | Chris Buechler <cmb@pfsense.org> | 2014-11-04 21:22:27 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-11-04 21:22:27 -0600 |
commit | b7419cfc0bd677d1e5c254d1e5f9e098774b7af6 (patch) | |
tree | c65011cd05e23c3e064ecb55686e16deeffda8b3 /usr | |
parent | 261f2efe47a52a0d9a1756cf53f92c7d2148a40c (diff) | |
download | pfsense-b7419cfc0bd677d1e5c254d1e5f9e098774b7af6.zip pfsense-b7419cfc0bd677d1e5c254d1e5f9e098774b7af6.tar.gz |
skip disabled phase 1 entries in status output
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/diag_ipsec.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/diag_ipsec.php b/usr/local/www/diag_ipsec.php index 18686d0..efb9957 100644 --- a/usr/local/www/diag_ipsec.php +++ b/usr/local/www/diag_ipsec.php @@ -389,6 +389,8 @@ $status = ipsec_smp_dump_status(); $rgmap = array(); foreach ($a_phase1 as $ph1ent): + if (isset($ph1ent['disabled'])) + continue; $rgmap[$ph1ent['remote-gateway']] = $ph1ent['remote-gateway']; if ($ipsecconnected[$ph1ent['ikeid']]) continue; |