mirror of https://github.com/aredn/aredn.git
Ignore tracker entries without IPs (#1101)
This commit is contained in:
parent
d1777c016d
commit
6659c59239
|
@ -661,8 +661,10 @@ if l then
|
||||||
l:close()
|
l:close()
|
||||||
for _, tracker in pairs(lqm.trackers)
|
for _, tracker in pairs(lqm.trackers)
|
||||||
do
|
do
|
||||||
|
if tracker.ip then
|
||||||
trackers[tracker.ip] = tracker
|
trackers[tracker.ip] = tracker
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
local now = nixio.sysinfo().uptime
|
local now = nixio.sysinfo().uptime
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue