mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixed ASN 0 in as_stats (#9361)
This commit is contained in:
parent
7ac203d1c3
commit
f9ebbcc842
2 changed files with 7 additions and 2 deletions
|
|
@ -59,6 +59,8 @@ if as_info ~= nil then
|
|||
record["throughput"] = value["throughput_bps"]
|
||||
record["asname"] = value["asname"]
|
||||
|
||||
if value["asn"] == 0 then record["asname"] = "Private hosts" end
|
||||
|
||||
record["breakdown"] = {
|
||||
bytes_sent = bytes_sent,
|
||||
bytes_rcvd = bytes_rcvd
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue