Fix map building in get_ipsec_status

This commit is contained in:
Ely Deckers 2022-02-21 08:18:32 +01:00
parent 9288a682d0
commit 415ce8d1a4
1 changed files with 4 additions and 4 deletions

View File

@ -1074,10 +1074,10 @@ class Commands
$cname = ipsec_conid($ph1ent);
}
return [
...$p,
$cname => $ph1ent[$ike_id],
];
return array_merge(
$p,
[$cname => $ph1ent[$ike_id]],
);
}, []);
// Phase-Status match borrowed from status_ipsec.php