Fixes location not correctly set in case of aggregation

This commit is contained in:
Matteo Biscosi 2023-11-30 14:20:24 +00:00
parent e7e0cbe7dd
commit 954d86bfb7
3 changed files with 22 additions and 15 deletions

View file

@ -160,14 +160,16 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
if not info_cli then
info_cli = {
host = value["cli.ip"],
vlan = value["cli.vlan"]
vlan = value["cli.vlan"],
localhost = value["cli.localhost"]
}
end
if not info_srv then
info_srv = {
host = value["srv.ip"],
vlan = value["srv.vlan"]
vlan = value["srv.vlan"],
localhost = value["srv.localhost"]
}
end