mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
[VS] Fix scan bug and add filtered ports on report
This commit is contained in:
parent
2a834290b0
commit
c89018628b
3 changed files with 13 additions and 2 deletions
|
|
@ -136,7 +136,7 @@ end
|
|||
local function format_port_list_to_string(ports)
|
||||
local scan_ports = ""
|
||||
|
||||
if (#ports > 0) then
|
||||
if (ports ~= nil and #ports > 0) then
|
||||
for index,port in ipairs(ports) do
|
||||
if (index == 1) then
|
||||
scan_ports = ""..port
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue