mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixes for invalid checks for packet/non-packet interfaces
Addresses #5519
This commit is contained in:
parent
a8d08b2d3e
commit
18cbfc5b3a
13 changed files with 24 additions and 20 deletions
|
|
@ -676,7 +676,7 @@ local function loadAndCheckScript(mod_fname, full_path, plugin, script_type, sub
|
|||
return(nil)
|
||||
end
|
||||
|
||||
if((not return_all) and ((check.nedge_exclude and ntop.isnEdge()) or (check.nedge_only and (not ntop.isnEdge())))) then
|
||||
if((check.nedge_exclude and ntop.isnEdge()) or (check.nedge_only and (not ntop.isnEdge()))) then
|
||||
traceError(TRACE_DEBUG, TRACE_CONSOLE, string.format("Skipping module '%s' for nEdge", mod_fname))
|
||||
return(nil)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue