mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
[VS] minor fix. (#8005)
This commit is contained in:
parent
463b906b59
commit
9ad2291aee
1 changed files with 4 additions and 1 deletions
|
|
@ -1819,8 +1819,11 @@ end
|
|||
-- **********************************************************
|
||||
|
||||
function vs_utils.is_available()
|
||||
if (ntop.isnEdge()) then
|
||||
return false
|
||||
end
|
||||
local scan_modules = vs_utils.list_scan_modules()
|
||||
return ((#scan_modules > 0) and (not ntop.isnEdge()))
|
||||
return (#scan_modules > 0)
|
||||
end
|
||||
|
||||
-- **********************************************************
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue