mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
[VS] Fix not configured alert description.
This commit is contained in:
parent
31b7175929
commit
9d61a1f41e
2 changed files with 4 additions and 4 deletions
|
|
@ -116,8 +116,8 @@ 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.scan_type) then
|
||||
scan_type_label = i18n("hosts_stats.page_scan_hosts.scan_type_list."..alert_type_params.scan_type)
|
||||
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})
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue