mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
[VS] Removed filtered ports from vs result page. (#8012)
This commit is contained in:
parent
12191dd5a4
commit
4e07e161cf
1 changed files with 4 additions and 2 deletions
|
|
@ -597,8 +597,10 @@ function vs_utils.cleanup_nmap_result(scan_result, scan_type)
|
|||
table.insert(cve, c[1])
|
||||
num_vulnerabilities = num_vulnerabilities + 1
|
||||
end
|
||||
|
||||
table.insert(scan_out, l)
|
||||
|
||||
if (string.find(l, "filtered") == nil) then
|
||||
table.insert(scan_out, l)
|
||||
end
|
||||
end
|
||||
|
||||
scan_result = table.concat(scan_out, "\n")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue