Ignore tracker entries without IPs (#1101)

This commit is contained in:
Tim Wilkinson 2024-02-23 21:11:51 -08:00 committed by GitHub
parent d1777c016d
commit 6659c59239
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

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