mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixes location not correctly set in case of aggregation
This commit is contained in:
parent
e7e0cbe7dd
commit
954d86bfb7
3 changed files with 22 additions and 15 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue