mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
use address in top talkers when label is not available
This commit is contained in:
parent
387c7ae5f7
commit
b7748639f3
1 changed files with 1 additions and 1 deletions
|
|
@ -625,7 +625,7 @@ $.ajax({
|
|||
var other_traffic = 0;
|
||||
$.each(n, function(j, m) {
|
||||
if(items < 3) {
|
||||
infoHTML += "<li><a href='host_details.lua?host="+m.address+"'>"+abbreviateString(m.label,24);
|
||||
infoHTML += "<li><a href='host_details.lua?host="+m.address+"'>"+abbreviateString(m.label ? m.label : m.address,24);
|
||||
infoHTML += "</a>";
|
||||
if (m.vlan != "0") infoHTML += " ("+m.vlanm+")";
|
||||
infoHTML += " ("+fbits((m.value*8)/60)+")</li>";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue