mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
[VS] Fix in ipv4_netscan the host not detected case. (#8086)
This commit is contained in:
parent
8db0945eba
commit
98bea0a032
4 changed files with 28 additions and 18 deletions
|
|
@ -115,11 +115,7 @@ function alert_vulnerability_scan.format(ifid, alert, alert_type_params, local_e
|
|||
|
||||
-- message for host not configured alert
|
||||
if (alert_type_params.is_host_not_configured) then
|
||||
local scan_type_label = ""
|
||||
if (alert_type_params.sub_scan_type) then
|
||||
scan_type_label = i18n("hosts_stats.page_scan_hosts.scan_type_list."..alert_type_params.sub_scan_type)
|
||||
end
|
||||
msg = msg .. i18n("vulnerability_scan.host_not_configured", {host = alert_type_params.host, scan_type_label = scan_type_label})
|
||||
msg = msg .. i18n("vulnerability_scan.host_not_configured", {host = alert_type_params.host })
|
||||
end
|
||||
|
||||
local host = alert_type_params.host_name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue