mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fixes AS stats in the GUI
This commit is contained in:
parent
a63eeadbb1
commit
a43636bdb0
6 changed files with 119 additions and 19 deletions
|
|
@ -7,7 +7,7 @@ local now = os.time()
|
|||
|
||||
function as2record(as)
|
||||
local record = {}
|
||||
record["key"] = as["asn"]
|
||||
record["key"] = tostring(as["asn"])
|
||||
|
||||
local as_link = "<A HREF='"..ntop.getHttpPrefix()..'/lua/hosts_stats.lua?asn='..as["asn"].."' title='"..as["asname"].."'>"..as["asn"]..'</A>'
|
||||
record["column_asn"] = as_link
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue