Fix server IP in unexpected DHCP server alert.

This commit is contained in:
Nicolo Maio 2023-08-14 16:21:20 +02:00
parent 3d099d02a8
commit 2fb921e5f9

View file

@ -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("flow_alerts_explorer.status_unexpected_dhcp_description", { server=alert.srv_ip} ))
return(i18n("flow_alerts_explorer.status_unexpected_dhcp_description", { server=alert_type_params.server_ip} ))
end
-- #######################################################