mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
AJAX updates of flows dropped
This commit is contained in:
parent
d84bc95d3f
commit
09ae32b324
4 changed files with 10 additions and 2 deletions
|
|
@ -362,8 +362,8 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
|
||||
|
||||
-- exists only for bridged interfaces
|
||||
if value["flows.dropped"] then
|
||||
print ("\", \"column_num_dropped_flows\" : \""..value["flows.dropped"])
|
||||
if isBridgeInterface(interface.getStats()) then
|
||||
print ("\", \"column_num_dropped_flows\" : \""..(value["flows.dropped"] or 0))
|
||||
end
|
||||
|
||||
sent2rcvd = round((value["bytes.sent"] * 100) / (value["bytes.sent"]+value["bytes.rcvd"]), 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue