mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Rework host label getters
This fixes inconsistencies across the ntopng gui Addresses #3699
This commit is contained in:
parent
ebbe0155e3
commit
ba5c64b107
28 changed files with 136 additions and 139 deletions
|
|
@ -443,7 +443,7 @@ function mud_utils.getHostMUD(host_key)
|
|||
local is_general_purpose = (mud_utils.getHostMUDRecordingPref(ifid, host_key) == "general_purpose")
|
||||
local ifid = interface.getId()
|
||||
local mud = {}
|
||||
local host_name = getHostAltName(host_key)
|
||||
local host_name = hostinfo2label(hostkey2hostinfo(host_key))
|
||||
local mud_url = _SERVER["HTTP_HOST"] .. ntop.getHttpPrefix() .. "/lua/rest/get/host/mud.lua?host=" .. host_key
|
||||
|
||||
-- https://tools.ietf.org/html/rfc8520
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue