mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Fixes unexpected servers alert messages
This commit is contained in:
parent
9b85af0280
commit
9da49da88f
4 changed files with 4 additions and 4 deletions
|
|
@ -43,7 +43,7 @@ end
|
|||
-- @param alert_type_params Table `alert_type_params` as built in the `:init` method
|
||||
-- @return A human-readable string
|
||||
function alert_unexpected_dhcp_server.format(ifid, alert, alert_type_params)
|
||||
return(i18n("unexpected_dhcp.status_unexpected_dhcp_description", { server=alert_type_params.server_ip} ))
|
||||
return(i18n("unexpected_dhcp.status_unexpected_dhcp_description", { server=alert.srv_ip} ))
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ end
|
|||
-- @param alert_type_params Table `alert_type_params` as built in the `:init` method
|
||||
-- @return A human-readable string
|
||||
function alert_unexpected_dns_server.format(ifid, alert, alert_type_params)
|
||||
return(i18n("unexpected_dns.status_unexpected_dns_description", { server=alert_type_params.server_ip} ))
|
||||
return(i18n("unexpected_dns.status_unexpected_dns_description", { server=alert.srv_ip} ))
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ end
|
|||
-- @param alert_type_params Table `alert_type_params` as built in the `:init` method
|
||||
-- @return A human-readable string
|
||||
function alert_unexpected_ntp_server.format(ifid, alert, alert_type_params)
|
||||
return(i18n("unexpected_ntp.status_unexpected_ntp_description", { server=alert_type_params.server_ip} ))
|
||||
return(i18n("unexpected_ntp.status_unexpected_ntp_description", { server=alert.srv_ip} ))
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ end
|
|||
-- #######################################################
|
||||
|
||||
function alert_unexpected_smtp_server.format(ifid, alert, alert_type_params)
|
||||
return(i18n("unexpected_smtp.status_unexpected_smtp_description", { server=alert_type_params.server_ip} ))
|
||||
return(i18n("unexpected_smtp.status_unexpected_smtp_description", { server=alert.srv_ip} ))
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue