mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes ts with vlans
This commit is contained in:
parent
29ba06e8a3
commit
ad0f6deeeb
1 changed files with 4 additions and 1 deletions
|
|
@ -118,7 +118,10 @@ function ts_data.get_timeseries(http_context)
|
|||
end
|
||||
|
||||
if tskey ~= 0 then
|
||||
options.tags.host = tskey
|
||||
-- In case of vlans, the vlan tag has to be there
|
||||
for id, val in pairs(hostkey2hostinfo(tskey)) do
|
||||
options.tags[id] = val
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue