Fix xlink monitoring by lqm (#1018)

This commit is contained in:
Tim Wilkinson 2023-12-13 23:34:08 -08:00 committed by GitHub
parent 18e17abf97
commit ceb7e973bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -450,8 +450,8 @@ function lqm()
end end
-- Xlink -- Xlink
if nixio.fs.stat("/etc/config/xlink") then if nixio.fs.stat("/etc/config/xlink.mesh") then
uci.cursor("/etc/config"):foreach("xlink", "interface", uci.cursor("/etc/config.mesh"):foreach("xlink", "interface",
function(section) function(section)
if section.ifname then if section.ifname then
for _, entry in ipairs(arps) for _, entry in ipairs(arps)