mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fixes missing formatting in tables
This commit is contained in:
parent
760b5a2c52
commit
4b9938be9a
5 changed files with 23 additions and 15 deletions
|
|
@ -117,8 +117,7 @@ function mac2record(mac)
|
|||
+ mac["arp_replies.rcvd"])
|
||||
|
||||
record["column_device_type"] = discover.devtype2string(mac["devtype"]).." "..discover.devtype2icon(mac["devtype"])
|
||||
|
||||
record["column_hosts"] = mac["num_hosts"]..""
|
||||
record["column_hosts"] = format_high_num_value_for_tables(mac, "num_hosts")
|
||||
record["column_since"] = secondsToTime(now - mac["seen.first"]+1)
|
||||
|
||||
local sent2rcvd = round((mac["bytes.sent"] * 100) / (mac["bytes.sent"] + mac["bytes.rcvd"]), 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue