mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Temporary fix for live pcap extraction with n2disk
This commit is contained in:
parent
c2bd4c118c
commit
afc1948ff1
2 changed files with 4 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ local rest_utils = require("rest_utils")
|
|||
-- NOTE: in case of invalid login, no error is returned but redirected to login
|
||||
--
|
||||
|
||||
local ifid = tonumber(_GET["ifid"])
|
||||
local ifid = _GET["ifid"]
|
||||
local filter = _GET["bpf_filter"]
|
||||
local time_from = tonumber(_GET["epoch_begin"])
|
||||
local time_to = tonumber(_GET["epoch_end"])
|
||||
|
|
@ -43,6 +43,8 @@ end
|
|||
|
||||
interface.select(ifid)
|
||||
|
||||
ifid = tonumber(ifid)
|
||||
|
||||
if filter == nil then
|
||||
filter = ""
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue