mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 10:41:34 +00:00
Reviewed ntopng rest API documentation
This commit is contained in:
parent
4c501ff73e
commit
841c71973a
4 changed files with 1203 additions and 292 deletions
|
|
@ -10,6 +10,7 @@ local json = require "dkjson"
|
|||
local discover = require "discover_utils"
|
||||
local rest_utils = require "rest_utils"
|
||||
|
||||
local ifid = tonumber(_GET["ifid"]) or ""
|
||||
local os_filter = tonumber(_GET["operating_system"])
|
||||
local devtype_filter = tonumber(_GET["device_type"])
|
||||
local manuf_filter = _GET["manufacturer"]
|
||||
|
|
@ -28,7 +29,11 @@ end
|
|||
|
||||
-- ################################################
|
||||
|
||||
interface.select(ifname)
|
||||
if isEmptyString(ifid) then
|
||||
ifid = ifname
|
||||
end
|
||||
|
||||
interface.select(ifid)
|
||||
|
||||
local res = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue