mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Added missing host icons from flow layout
Minor MDNS fix
This commit is contained in:
parent
ff20b07970
commit
865efc617a
2 changed files with 22 additions and 8 deletions
|
|
@ -316,6 +316,13 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
|
|||
local info = interface.getHostInfo(value["cli.ip"], value["cli.vlan"])
|
||||
|
||||
if(info ~= nil) then
|
||||
if(info.broadcast_domain_host) then
|
||||
column_client = column_client.." <i class='fa fa-sitemap' title='"..i18n("hosts_stats.label_broadcast_domain_host").."'></i>"
|
||||
end
|
||||
|
||||
if(info.dhcpHost) then
|
||||
column_client = column_client.." <i class=\'fa fa-flash fa-lg\' aria-hidden=\'true\' title=\'DHCP Host\'></i>"
|
||||
end
|
||||
column_client = column_client..getFlag(info["country"])
|
||||
end
|
||||
|
||||
|
|
@ -332,7 +339,16 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
|
|||
|
||||
local column_server = dst_key
|
||||
info = interface.getHostInfo(value["srv.ip"], value["srv.vlan"])
|
||||
|
||||
if(info ~= nil) then
|
||||
if(info.broadcast_domain_host) then
|
||||
column_server = column_server.." <i class='fa fa-sitemap' title='"..i18n("hosts_stats.label_broadcast_domain_host").."'></i>"
|
||||
end
|
||||
|
||||
if(info.dhcpHost) then
|
||||
column_server = column_server.." <i class=\'fa fa-flash fa-lg\' aria-hidden=\'true\' title=\'DHCP Host\'></i>"
|
||||
end
|
||||
|
||||
column_server = column_server..getFlag(info["country"])
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue