mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
parent
102da47f26
commit
32688764a7
2 changed files with 13 additions and 8 deletions
|
|
@ -10,10 +10,13 @@ local json = require("dkjson")
|
|||
|
||||
sendHTTPContentTypeHeader('application/json', 'attachment; filename="exported_data.json"')
|
||||
|
||||
local mode = _POST["mode"]
|
||||
local mode = _GET["mode"]
|
||||
local ifId = _GET["ifid"]
|
||||
|
||||
interface.select(ifId)
|
||||
|
||||
if mode == "filtered" then
|
||||
local host_info = url2hostinfo(_POST)
|
||||
local host_info = url2hostinfo(_GET)
|
||||
local host
|
||||
|
||||
if not isEmptyString(host_info["host"]) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue