mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixes MAC settings not changed (#6916)
This commit is contained in:
parent
47339bd34c
commit
19065241bb
2 changed files with 6 additions and 6 deletions
|
|
@ -880,6 +880,12 @@ function getCustomDeviceType(mac)
|
|||
return tonumber(ntop.getPref(getCustomDeviceKey(mac)))
|
||||
end
|
||||
|
||||
-- #############################################
|
||||
|
||||
function setCustomDeviceType(mac, device_type)
|
||||
ntop.setPref(getCustomDeviceKey(mac), tostring(device_type))
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
-- @brief Compute and return the difference, in seconds, between the local time of this instance and GMT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue