Fixed layour of hosts matrix: empty rows/columns are not rendered

This commit is contained in:
Luca Deri 2015-08-09 10:33:37 +02:00
parent dc5ed84692
commit c755bd6fd4
3 changed files with 62 additions and 41 deletions

View file

@ -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