Additional fixes for Zero TCP window detection

This commit is contained in:
Simone Mainardi 2020-11-07 15:38:39 +01:00
parent a091efcb09
commit d42057baf5
5 changed files with 22 additions and 15 deletions

View file

@ -571,7 +571,11 @@ local function formatRawFlow(record, flow_json, skip_add_links)
local msg = ""
if not isEmptyString(record["flow_status"]) then
msg = msg..flow_consts.getStatusDescription(tonumber(record["flow_status"]), status_info).." "
local status_description = flow_consts.getStatusDescription(tonumber(record["flow_status"]), status_info)
if status_description then
msg = msg..flow_consts.getStatusDescription(tonumber(record["flow_status"]), status_info).." "
end
end
if not isEmptyString(flow) then