mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Handle extractions from the smart timeline when enabled according to the time interval
This commit is contained in:
parent
47aad89868
commit
ba60af3df2
10 changed files with 155 additions and 73 deletions
|
|
@ -30,10 +30,7 @@ else
|
|||
time_from = tonumber(time_from)
|
||||
time_to = tonumber(time_to)
|
||||
|
||||
local timeline_path
|
||||
if recording_utils.getCurrentTrafficRecordingProvider(ifstats.id) ~= "ntopng" then
|
||||
timeline_path = recording_utils.getCurrentTrafficRecordingProviderTimelinePath(ifstats.id)
|
||||
end
|
||||
local timeline_path = recording_utils.getTimelineByInterval(ifstats.id, time_from, time_to)
|
||||
|
||||
local params = {
|
||||
time_from = time_from,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue