mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Added fix for #1755
Implemented OS detection via HTTP user agent Minor cosmetic GUI fixes
This commit is contained in:
parent
2d87469279
commit
d17bb9671f
8 changed files with 74 additions and 9 deletions
|
|
@ -225,9 +225,14 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
print ("\"column_ip\" : \"<A HREF='")
|
||||
url = ntop.getHttpPrefix().."/lua/host_details.lua?" ..hostinfo2url(hosts_stats[key])
|
||||
print(url .. "'>")
|
||||
|
||||
print(mapOS2Icon(stripVlan(key)))
|
||||
print(" </A> ")
|
||||
|
||||
if((value.operatingSystem ~= 0) and (value["os"] == "")) then
|
||||
print(" "..getOperatingSystemIcon(value.operatingSystem).." ")
|
||||
end
|
||||
|
||||
if(value["systemhost"] == true) then print(" <i class='fa fa-flag'></i>") end
|
||||
if(value["hiddenFromTop"] == true) then print(" <i class='fa fa-eye-slash'></i>") end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue