Rearranges http statistics in host_get_json.lua

This commit is contained in:
Simone Mainardi 2016-04-12 10:25:32 +02:00
parent 6636c5fc91
commit 9855a381e8

View file

@ -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