mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
bug fixes for system view
This commit is contained in:
parent
8e1da33141
commit
ae57018252
3 changed files with 28 additions and 29 deletions
|
|
@ -16,9 +16,9 @@ if (system_interface_toggled == nil) then
|
|||
return
|
||||
end
|
||||
|
||||
ntop.setPref("ntop.prefs.system_mode_enabled", system_interface_toggled)
|
||||
ntop.setPref("ntopng.prefs.system_mode_enabled", system_interface_toggled)
|
||||
|
||||
print(json.encode({
|
||||
["success"] = true,
|
||||
["href"] = (system_interface_toggled == "1" and ntop.getHttpPrefix() .. "/lua/system_stats.lua" or "/");
|
||||
["system_view"] = ntop.getPref("ntopng.prefs.system_mode_enabled")
|
||||
}))
|
||||
Loading…
Add table
Add a link
Reference in a new issue