mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixed layour of hosts matrix: empty rows/columns are not rendered
This commit is contained in:
parent
dc5ed84692
commit
c755bd6fd4
3 changed files with 62 additions and 41 deletions
|
|
@ -598,9 +598,7 @@ function isBroadMulticast(ip)
|
|||
return false
|
||||
end
|
||||
|
||||
-- exclude_BroadMultIPv6
|
||||
function exclude_BroadMultIPv6(ip)
|
||||
|
||||
function isBroadcastMulticast(ip)
|
||||
-- check NoIP
|
||||
if(ip == "0.0.0.0") then
|
||||
return true
|
||||
|
|
@ -609,9 +607,7 @@ function exclude_BroadMultIPv6(ip)
|
|||
-- check IPv6
|
||||
t = string.split(ip, "%.")
|
||||
|
||||
if(t == nil) then
|
||||
return true
|
||||
else
|
||||
if(t ~= nil) then
|
||||
-- check Multicast / Broadcast
|
||||
if(tonumber(t[1]) >= 224) then
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue