mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
fixed several netflow bugs
This commit is contained in:
parent
1a030bcd42
commit
065617a67a
@ -1510,26 +1510,25 @@ function netflow_get_item_data(
|
|||||||
|
|
||||||
switch ($type_netflow) {
|
switch ($type_netflow) {
|
||||||
case 'netflow_top_N':
|
case 'netflow_top_N':
|
||||||
/*
|
$data_summary = netflow_get_summary(
|
||||||
$data_summary = netflow_get_summary(
|
|
||||||
$start_date,
|
$start_date,
|
||||||
$end_date,
|
$end_date,
|
||||||
$filter,
|
$filter,
|
||||||
$connection_name
|
$connection_name
|
||||||
);
|
);
|
||||||
|
|
||||||
$data_top_n = netflow_get_top_N(
|
$data_top_n = netflow_get_top_N(
|
||||||
$start_date,
|
$start_date,
|
||||||
$end_date,
|
$end_date,
|
||||||
$filter,
|
$filter,
|
||||||
$max_aggregates,
|
$max_aggregates,
|
||||||
$connection_name
|
$connection_name
|
||||||
);
|
);
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
'summary' => $data_summary,
|
'summary' => $data_summary,
|
||||||
'top_n' => $data_top_n,
|
'top_n' => $data_top_n,
|
||||||
];*/
|
];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'netflow_summary':
|
case 'netflow_summary':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user