mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fixes missing formatting in countries (#6918)
This commit is contained in:
parent
b03757b744
commit
e40a2b4870
1 changed files with 2 additions and 2 deletions
|
|
@ -12,8 +12,8 @@ function country2record(ifId, country)
|
|||
local country_link = "<A HREF='"..ntop.getHttpPrefix()..'/lua/hosts_stats.lua?country='..country["country"].."' title='"..country["country"].."'>"..country["country"]..'</A>'
|
||||
record["column_id"] = getFlag(country["country"]).."  " .. country_link
|
||||
|
||||
record["column_hosts"] = country["num_hosts"]..""
|
||||
record["column_score"] = country["score"]
|
||||
record["column_score"] = format_high_num_value_for_tables(country, "score")
|
||||
record["column_hosts"] = format_high_num_value_for_tables(country, "num_hosts")
|
||||
record["column_since"] = secondsToTime(now - country["seen.first"] + 1)
|
||||
|
||||
local sent2rcvd = round((country["egress"] * 100) / (country["egress"] + country["ingress"]), 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue