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" }
|
track.links[link.hostname:lower()] = { type = "DTD" }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
else
|
elseif info.link_info then
|
||||||
-- If there's no LQM information we fallback on using link information.
|
-- If there's no LQM information we fallback on using link information.
|
||||||
for ip, link in pairs(info.link_info)
|
for ip, link in pairs(info.link_info)
|
||||||
do
|
do
|
||||||
|
|
Loading…
Reference in New Issue