diff --git a/usr/local/www/diag_ipsec.php b/usr/local/www/diag_ipsec.php index 18686d0e0..efb9957e6 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;