Fixes possible alert message issue

This commit is contained in:
Matteo Biscosi 2024-04-11 05:08:02 -04:00
parent 0a2f81967a
commit 785ac74633

View file

@ -1526,7 +1526,7 @@ end
function addBytesInfoToAlertDescr(msg, value, json_format)
if json_format then
if not msg then
if isEmptyString(msg) then
msg = {}
end
msg["server_traffic"] = value["srv2cli_bytes"] or 0