mirror of https://github.com/aredn/aredn.git
Really old sysinfo.json dont have link_info
This commit is contained in:
parent
47826f809c
commit
2f96f2bc7a
|
@ -355,7 +355,7 @@ function lqm()
|
|||
track.links[link.hostname:lower()] = { type = "DTD" }
|
||||
end
|
||||
end
|
||||
else
|
||||
elseif info.link_info then
|
||||
-- If there's no LQM information we fallback on using link information.
|
||||
for ip, link in pairs(info.link_info)
|
||||
do
|
||||
|
|
Loading…
Reference in New Issue