mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Enlarged top talkers host label
This commit is contained in:
parent
7668eaec7e
commit
4c2eba0678
2 changed files with 7 additions and 6 deletions
|
|
@ -259,7 +259,8 @@ function top_talkers_utils.enrichRecordInformation(class_key, rec, show_vlan)
|
|||
url = ntop.getHttpPrefix()..'/lua/host_details.lua?always_show_hist=true&host='
|
||||
|
||||
-- Use the host alias as label, if set
|
||||
local alt_name = ip2label(address)
|
||||
local alt_name = ip2label(address, 0, 100)
|
||||
|
||||
if not isEmptyString(alt_name) and (alt_name ~= address) then
|
||||
label = alt_name
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue