mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Add ability to extract traffic to users with permission (direct extraction only)
This commit is contained in:
parent
3611bf7346
commit
f4a4c07d80
6 changed files with 51 additions and 23 deletions
|
|
@ -15,7 +15,7 @@ local function send_error(msg)
|
|||
print(json.encode(res))
|
||||
end
|
||||
|
||||
if not recording_utils.isAvailable() then
|
||||
if not recording_utils.isExtractionAvailable() then
|
||||
send_error(i18n("traffic_recording.not_granted"))
|
||||
else
|
||||
if _GET["epoch_begin"] == nil or _GET["epoch_end"] == nil then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue