mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Migrates other lua to REST API v1
This commit is contained in:
parent
19da0a665a
commit
2010890af9
3 changed files with 3 additions and 3 deletions
|
|
@ -444,7 +444,7 @@ function mud_utils.getHostMUD(host_key)
|
|||
local ifid = interface.getId()
|
||||
local mud = {}
|
||||
local host_name = hostinfo2label(hostkey2hostinfo(host_key))
|
||||
local mud_url = _SERVER["HTTP_HOST"] .. ntop.getHttpPrefix() .. "/lua/rest/get/host/mud.lua?host=" .. host_key
|
||||
local mud_url = _SERVER["HTTP_HOST"] .. ntop.getHttpPrefix() .. "/lua/rest/v1/get/host/mud.lua?host=" .. host_key
|
||||
|
||||
-- https://tools.ietf.org/html/rfc8520
|
||||
mud["ietf-mud:mud"] = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue