mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Removed "hide from top" hist feature that was not popular and reduced the overall speed
Added icon for blackhole hosts (i.e. hosts RX-only)
This commit is contained in:
parent
ce5c657432
commit
2f20e3f903
18 changed files with 62 additions and 53 deletions
|
|
@ -402,7 +402,7 @@ function format_utils.formatFullAddressCategory(host)
|
|||
addr_category = addr_category .. ' <i class=\"fas fa-bolt\" title=\"'..i18n("details.label_dhcp")..'\"></i>'
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
return addr_category
|
||||
end
|
||||
|
||||
|
|
@ -430,6 +430,10 @@ function format_utils.formatMainAddressCategory(host)
|
|||
else
|
||||
addr_category = addr_category .. ' <abbr title=\"'.. i18n("details.label_remote") ..'\"><span class="badge bg-secondary">'..i18n("details.label_short_remote")..'</span></abbr>'
|
||||
end
|
||||
|
||||
if(host.is_blackhole == true) then
|
||||
addr_category = addr_category .. ' <abbr title=\"'.. i18n("details.label_blackhole") ..'\"><span class="badge bg-info">'..i18n("details.label_short_blackhole")..'</span></abbr>'
|
||||
end
|
||||
end
|
||||
|
||||
return addr_category
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue