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,7 +661,9 @@ if l then
l:close()
for _, tracker in pairs(lqm.trackers)
do
trackers[tracker.ip] = tracker
if tracker.ip then
trackers[tracker.ip] = tracker
end
end
end
local now = nixio.sysinfo().uptime