mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-04 18:00:10 +00:00
Added service status to service map
This commit is contained in:
parent
e9fb6a3b3a
commit
e6ec7c1612
4 changed files with 23 additions and 6 deletions
|
|
@ -40,8 +40,9 @@ for k,v in pairs(p) do
|
|||
table.insert(row, v.num_uses)
|
||||
table.insert(row, secondsToTime(os.time()-v.last_seen).. " "..i18n("details.ago"))
|
||||
table.insert(row, shortenString(v.info, 64))
|
||||
|
||||
|
||||
table.insert(rsp.data, row)
|
||||
table.insert(row, v.service_acceptance)
|
||||
end
|
||||
|
||||
print(json.encode(rsp))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue