skip disabled phase 1 entries in status output
This commit is contained in:
parent
261f2efe47
commit
b7419cfc0b
|
@ -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;
|
||||
|
|
Reference in New Issue