Skip to content

Commit

Permalink
Removed unused throughput
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaderi committed Jul 20, 2024
1 parent dcd5012 commit e28aabc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/lua/modules/ntop_utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,6 @@ function getNetFlowExportersUnifiedStats()
unified_exporters[exporter_ip][port_idx] = port_info
else
local tmp = unified_exporters[exporter_ip][port_idx]
tmp["throughput"] = port_info["throughput"] + (tmp["throughput"] or 0)
tmp["bytes.in_bytes"] = port_info["bytes.in_bytes"] + (tmp["bytes.in_bytes"] or 0)
tmp["bytes.out_bytes"] = port_info["bytes.out_bytes"] + (tmp["bytes.out_bytes"] or 0)
if not tmp.ndpi then
Expand Down Expand Up @@ -975,4 +974,4 @@ function getProbeFromUUID(nprobe_uuid)
end

return nil
end
end

0 comments on commit e28aabc

Please sign in to comment.