mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Fix search box. (#7749)
This commit is contained in:
parent
1878ba1edf
commit
6790142885
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ local function format_result(result)
|
|||
rsp[#rsp].num_vulnerabilities_found = format_high_num_value_for_tables(value, "num_vulnerabilities_found")
|
||||
rsp[#rsp].num_open_ports = format_high_num_value_for_tables(value, "num_open_ports")
|
||||
else
|
||||
if (value.host == search_map) then
|
||||
if (value.host == search_map or string.find(value.host,search_map)) then
|
||||
rsp[#rsp+1] = value
|
||||
rsp[#rsp].num_vulnerabilities_found = format_high_num_value_for_tables(value, "num_vulnerabilities_found")
|
||||
rsp[#rsp].num_open_ports = format_high_num_value_for_tables(value, "num_open_ports")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue