mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
[VS] Fix search on host_name (#7864)
This commit is contained in:
parent
66648f76f5
commit
193ff19f7b
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ local function format_result(result)
|
|||
rsp[#rsp].tcp_ports = rsp[#rsp].num_open_ports
|
||||
end
|
||||
else
|
||||
if (value.host == search_map or string.find(value.host,search_map)) then
|
||||
if (value.host == search_map or string.find(value.host_name,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