mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Fix #9153
This commit is contained in:
parent
ab4ba7da30
commit
c4c2a2d3a3
3 changed files with 11 additions and 6 deletions
|
|
@ -683,15 +683,15 @@ function get_manufacturer_mac(mac_address)
|
|||
local m = string.sub(mac_address, 1, 8)
|
||||
local ret = get_mac_classification(m, true --[[ extended name --]] )
|
||||
|
||||
if (ret == m) then
|
||||
ret = "n/a"
|
||||
if ret == m then
|
||||
ret = ""
|
||||
end
|
||||
|
||||
if ret and ret ~= "" then
|
||||
if not isEmptyString(ret) then
|
||||
ret = ret:gsub("'", " ")
|
||||
end
|
||||
|
||||
return ret or "n/a"
|
||||
return ret
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue