mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Host redirect URL now contains the hostname and not the IP, if present
This commit is contained in:
parent
ab217cac6e
commit
3c660a513a
2 changed files with 149 additions and 140 deletions
|
|
@ -2127,6 +2127,7 @@ function hostinfo2detailshref(host_info, href_params, href_value, href_tooltip,
|
|||
|
||||
if(show_href) then
|
||||
local hostdetails_url = hostinfo2detailsurl(host_info, href_params, href_check)
|
||||
|
||||
if not isEmptyString(hostdetails_url)then
|
||||
res = string.format("<a href='%s' data-bs-toggle='tooltip' title='%s'>%s</a>",
|
||||
hostdetails_url, href_tooltip or '', href_value or '')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue