1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Update luci-base and luci-mod-admin-full to latest upstream version

This commit is contained in:
Ycarus 2018-07-23 17:36:03 +02:00
parent 7a86a163f5
commit 602a83668e
74 changed files with 7498 additions and 3067 deletions

View file

@ -122,12 +122,12 @@ function action_connections()
luci.http.prepare_content("application/json")
luci.http.write("{ connections: ")
luci.http.write('{ "connections": ')
luci.http.write_json(sys.net.conntrack())
local bwc = io.popen("luci-bwc -c 2>/dev/null")
if bwc then
luci.http.write(", statistics: [")
luci.http.write(', "statistics": [')
while true do
local ln = bwc:read("*l")