This commit is contained in:
Matthias 2016-01-13 12:39:11 +00:00
commit 9750210809

View File

@ -73,7 +73,8 @@ io.write("<h2>Neighbours</h2>")
local interfaces = util.split(util.trim(util.exec("iw dev | egrep 'type IBSS|type mesh' -B 5 | grep Interface | cut -d' ' -f2")))
for _, ifname in ipairs(interfaces) do
if interfaces ~= {} then
for _, ifname in ipairs(interfaces) do
io.write("<h3>" .. escape_html(ifname) .. "</h3>")
io.write("<pre>")
@ -87,6 +88,7 @@ for _, ifname in ipairs(interfaces) do
end
io.write("</pre>")
end
end
local stat, fastd_status = pcall(