mirror of https://github.com/aredn/aredn.git
Eliminate displaying multiple copies of previous neighbors (#1143)
This commit is contained in:
parent
145a2a38e8
commit
dae38b1611
|
@ -927,6 +927,7 @@ do
|
||||||
host = host:gsub("^mid%d+%.", ""):gsub("^dtdlink%.", "")
|
host = host:gsub("^mid%d+%.", ""):gsub("^dtdlink%.", "")
|
||||||
end
|
end
|
||||||
if not cn[host:lower()] then
|
if not cn[host:lower()] then
|
||||||
|
cn[host:lower()] = true
|
||||||
local row = "<tbody style='color:sienna;'><tr><td>" .. host .. "</td><td colspan=7></td><td style='text-align:left'>"
|
local row = "<tbody style='color:sienna;'><tr><td>" .. host .. "</td><td colspan=7></td><td style='text-align:left'>"
|
||||||
if age < 3600 then
|
if age < 3600 then
|
||||||
local val = math.floor(age / 60)
|
local val = math.floor(age / 60)
|
||||||
|
|
Loading…
Reference in New Issue