Fix RRD collisions

Fixes #2690

Thank you @FrancescoStaccini for the hints
This commit is contained in:
emanuele-f 2019-07-01 11:29:43 +02:00
parent 4166f442ab
commit 005d56e5dd
3 changed files with 11 additions and 4 deletions

View file

@ -114,6 +114,8 @@ local function schema_get_path(schema, tags)
suffix = tags.port .. "/"
elseif parts[2] == "ndpi_categories" then
suffix = "ndpi_categories/"
elseif parts[2] == "ndpi_flows" then
suffix = "ndpi_flows/"
elseif #schema._tags >= 3 then
local intermediate_tags = {}