Fix extraction from smart timeline

This commit is contained in:
Alfredo Cardigliano 2023-04-18 11:52:44 +02:00
parent bbf97f1384
commit 2aa6eccafc
6 changed files with 13 additions and 20 deletions

View file

@ -145,14 +145,13 @@ function ui_utils.draw_pcap_download_dialog(ifid)
});
}
function pcapDownload(epoch_begin, epoch_end, bpf_filter, is_alert) {
function pcapDownload(epoch_begin, epoch_end, bpf_filter) {
$.ajax({
type: "GET",
url: ']] print(ntop.getHttpPrefix().."/lua/check_recording_data.lua") print [[',
data: {
epoch_begin: epoch_begin,
epoch_end: epoch_end,
alert_data_only: is_alert
epoch_end: epoch_end
}, error: function(err) {
console.error(err);
}, success: function(data) {