mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fix #9153
This commit is contained in:
parent
ab4ba7da30
commit
c4c2a2d3a3
3 changed files with 11 additions and 6 deletions
|
|
@ -489,7 +489,12 @@ local guess_icon_keys = {
|
|||
-- #############################################
|
||||
|
||||
function guessHostIcon(key)
|
||||
local m = string.lower(get_manufacturer_mac(key))
|
||||
local m = get_manufacturer_mac(key)
|
||||
if isEmptyString(m) then
|
||||
return ""
|
||||
end
|
||||
|
||||
m = string.lower(get_manufacturer_mac(key))
|
||||
local icon = guess_icon_keys[m]
|
||||
|
||||
if ((icon ~= nil) and (icon ~= "")) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue