Added flows to CSV
Former-commit-id: 2cff3714b1502c3abcb36ec20e5a2fc354242a8b
This commit is contained in:
parent
ccb8078a5a
commit
de35de6689
|
@ -204,6 +204,10 @@ if (get_parameter('export_csv')) {
|
||||||
// Print the data.
|
// Print the data.
|
||||||
foreach ($data as $row) {
|
foreach ($data as $row) {
|
||||||
echo $row['host'].$div;
|
echo $row['host'].$div;
|
||||||
|
if (isset($row['sum_flows'])) {
|
||||||
|
echo $row['sum_flows'].$div;
|
||||||
|
}
|
||||||
|
|
||||||
echo $row['sum_pkts'].$div;
|
echo $row['sum_pkts'].$div;
|
||||||
echo $row['sum_bytes'].$nl;
|
echo $row['sum_bytes'].$nl;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue