diff --git a/pfsense_zbx.php b/pfsense_zbx.php index e6d45d9..7174903 100644 --- a/pfsense_zbx.php +++ b/pfsense_zbx.php @@ -438,7 +438,7 @@ class Discovery { self::print_json(array_map( fn($gw) => ["{#GATEWAY}" => $gw["name"]], - PfEnv::return_gateways_status(true))); + array_values(PfEnv::return_gateways_status(true)))); } public static function wan()