Fixed invalid termination with pcap interfaces with multiple -i devices

Disabled debug trace
This commit is contained in:
Luca Deri 2018-04-04 21:16:22 +02:00
parent 0bf7fbc6bc
commit 7806e3caee
9 changed files with 24 additions and 31 deletions

View file

@ -250,7 +250,8 @@ function callback_utils.uploadTSdata()
end
-- Delete the file after POST
ret = ntop.postHTTPTextFile("", "", url, fname, true)
local delete_file_after_post = true
ret = ntop.postHTTPTextFile("", "", url, fname, delete_file_after_post)
if(ret ~= true) then
print("[ERROR] POST of "..fname.." failed\n")