Fix gateway discovery

This commit is contained in:
Ely Deckers 2022-02-22 14:00:27 +01:00
parent 32a42bcad4
commit 3996432202
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ class Discovery
{ {
self::print_json(array_map( self::print_json(array_map(
fn($gw) => ["{#GATEWAY}" => $gw["name"]], fn($gw) => ["{#GATEWAY}" => $gw["name"]],
PfEnv::return_gateways_status(true))); array_values(PfEnv::return_gateways_status(true))));
} }
public static function wan() public static function wan()