Preferences dump fix

This commit is contained in:
Luca 2017-09-21 11:42:18 +02:00
parent 2a3f313159
commit 9914b4c6a5
2 changed files with 3 additions and 1 deletions

View file

@ -3599,7 +3599,7 @@ end
function savePrefsToDisk()
local dirs = ntop.getDirs()
local where = dirs.workingdir.."/runtimeprefs.json"
local keys = ntop.getKeysCache("*prefs*")
local keys = ntop.getKeysCache("ntopng.prefs.*")
local out = {}
for k in pairs(keys or {}) do