mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
parent
0ca318ac4d
commit
7b1e38cc6e
5 changed files with 13 additions and 25 deletions
|
|
@ -1515,6 +1515,16 @@ function isLoopback(name)
|
|||
end
|
||||
end
|
||||
|
||||
function isLocalPacketdumpEnabled()
|
||||
local nbox_integration = ntop.getCache("ntopng.prefs.nbox_integration")
|
||||
if nbox_integration == nil or nbox_integration ~= "1" then
|
||||
nbox_integration = false
|
||||
else
|
||||
nbox_integration = true
|
||||
end
|
||||
return isAdministrator() and not nbox_integration and not interface.isView() and interface.isPacketInterface()
|
||||
end
|
||||
|
||||
function processColor(proc)
|
||||
if(proc == nil) then
|
||||
return("")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue