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

Merge branch 'test' into develop

This commit is contained in:
suyuan168 2022-02-03 04:33:59 +08:00
commit 080c21fab8
2 changed files with 11 additions and 11 deletions

View file

@ -209,7 +209,7 @@ end
function mptcp_monitor_data()
luci.http.prepare_content("text/plain")
local fullmesh
fullmesh = io.popen("cat /proc/net/mptcp_net/snmp")
fullmesh = io.popen("multipath -m")
if fullmesh:read() ~= nil then
while true do
local ln = fullmesh:read("*l")
@ -217,16 +217,6 @@ function mptcp_monitor_data()
luci.http.write(ln)
luci.http.write("\n")
end
else
fullmesh = io.popen("nstat -z")
if fullmesh then
while true do
local ln = fullmesh:read("*l")
if not ln then break end
luci.http.write(ln)
luci.http.write("\n")
end
end
end
return
end