Fix gateway discovery
This commit is contained in:
parent
32a42bcad4
commit
3996432202
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue