Implements old RRD files deletion (frontend + partial backend)

This commit is contained in:
Simone Mainardi 2017-10-04 19:39:32 +02:00
parent 5ebfb6f01c
commit a99c7a9544
11 changed files with 117 additions and 6 deletions

View file

@ -2116,7 +2116,7 @@ function getPathFromMac(addr)
local nic = {mac[4], mac[5], mac[6]}
-- each manufacturer has its own directory
local res = table.concat(manufacturer, "_")
local res = fixPath("macs/"..table.concat(manufacturer, "_"))
-- the nic identifier goes as-is because it is non structured
res = fixPath(res.."/"..table.concat(nic, "/"))
-- finally the vlan