Handle extractions from the smart timeline when enabled according to the time interval

This commit is contained in:
Alfredo Cardigliano 2023-04-14 18:42:14 +02:00
parent 47aad89868
commit ba60af3df2
10 changed files with 155 additions and 73 deletions

View file

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