From b38bd942b975dc5f1feb2cbb69d50813f85165bc Mon Sep 17 00:00:00 2001 From: Christof Schulze Date: Sat, 11 Feb 2017 17:26:06 +0100 Subject: [PATCH] gluon-status-page-api: fix indentation of luasrc/lib/gluon/status-page/www/cgi-bin/interfaces --- .../luasrc/lib/gluon/status-page/www/cgi-bin/interfaces | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/gluon-status-page-api/luasrc/lib/gluon/status-page/www/cgi-bin/interfaces b/package/gluon-status-page-api/luasrc/lib/gluon/status-page/www/cgi-bin/interfaces index 696f3ce6..d4ea74f8 100755 --- a/package/gluon-status-page-api/luasrc/lib/gluon/status-page/www/cgi-bin/interfaces +++ b/package/gluon-status-page-api/luasrc/lib/gluon/status-page/www/cgi-bin/interfaces @@ -15,10 +15,10 @@ list = util.get_mesh_devices(uconn) ubus.close(uconn) interfaces = {} for _,ifname in ipairs(list) do - pcall(function() - local address = util.trim(fs.readfile('/sys/class/net/' .. ifname .. '/address')) - interfaces[ifname] = { address = address } - end) + pcall(function() + local address = util.trim(fs.readfile('/sys/class/net/' .. ifname .. '/address')) + interfaces[ifname] = { address = address } + end) end io.write(json.stringify(interfaces))