mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Added function for displaying device model
This commit is contained in:
parent
d723ac6bc0
commit
fbe9b86d88
1 changed files with 12 additions and 0 deletions
|
|
@ -1812,4 +1812,16 @@ end
|
|||
|
||||
-- ################################################################################
|
||||
|
||||
function discover.get_model(value)
|
||||
local m = discover.apple_products[value]
|
||||
|
||||
if(m ~= nil) then
|
||||
return(m)
|
||||
else
|
||||
return(value)
|
||||
end
|
||||
end
|
||||
|
||||
-- ################################################################################
|
||||
|
||||
return discover
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue