mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Fixes issues with Loc. Hosts Activity page
This commit is contained in:
parent
a76353fdab
commit
4e5a347d2f
6 changed files with 50 additions and 98 deletions
|
|
@ -401,7 +401,7 @@ end
|
|||
-- ##############################################
|
||||
|
||||
local function sampleSeries(schema, cur_points, step, max_points, series, consolidation)
|
||||
local sampled_dp = math.ceil(cur_points / max_points)
|
||||
local sampled_dp = math.floor(cur_points / max_points + 0.5)
|
||||
local count = nil
|
||||
local nan = 0 / 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue