mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Added fix for avoiding MDNS decoding loops
Fixed error with Lua preferences dumping Added missing value handling in pool alerts
This commit is contained in:
parent
cb54b9717c
commit
45119bfa98
3 changed files with 6 additions and 3 deletions
|
|
@ -31,8 +31,10 @@ function prefs_dump_utils.savePrefsToDisk()
|
|||
local dump = json.encode(out, nil, 1)
|
||||
|
||||
local file = io.open(where, "w")
|
||||
file:write(dump)
|
||||
file:close()
|
||||
if(file ~= nil) then
|
||||
file:write(dump)
|
||||
file:close()
|
||||
end
|
||||
end
|
||||
|
||||
-- ###########################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue