mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Unify host and mac device types
Now the device type is a layer-2 concept and as such is stored into the Mac objects
This commit is contained in:
parent
c4a6ddd3a4
commit
6cdcc0ffac
15 changed files with 112 additions and 129 deletions
|
|
@ -185,13 +185,14 @@ function print_single_group(value)
|
|||
if((alt ~= nil) and (alt ~= value["id"])) then alt = " ("..alt..")" else alt = "" end
|
||||
print('"column_link": "<A HREF=\''..ntop.getHttpPrefix()..'/lua/mac_details.lua?mac='.. value["id"] ..'\'>'.. value["id"]..alt..'</A>')
|
||||
|
||||
if(not(isSpecialMac(value["id"]))) then
|
||||
-- TODO how is this used?
|
||||
--[[if(not(isSpecialMac(value["id"]))) then
|
||||
local icon = getHostIcon(value["id"])
|
||||
|
||||
if(icon ~= "") then
|
||||
print(icon)
|
||||
end
|
||||
end
|
||||
end]]
|
||||
|
||||
print('",')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue