mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Rearranges http statistics in host_get_json.lua
This commit is contained in:
parent
6636c5fc91
commit
9855a381e8
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ else
|
|||
-- hosts stats are on by default, one must explicitly disable them
|
||||
if host_stats == nil or host_stats == "" or host_stats == "true" or host_stats == "1" then
|
||||
hj = json.decode(host["json"])
|
||||
hj["http"] = host["http"]
|
||||
end
|
||||
|
||||
-- host flow stats are off by default and must be explicitly enabled
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue