1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Fix MPTCP check

This commit is contained in:
Ycarus 2018-11-30 15:34:21 +01:00
parent 1e80f019e9
commit d1a7f6cd95

View file

@ -53,6 +53,11 @@ function multipath_bandwidth()
luci.http.write_json(result)
end
function get_device(interface)
local dump = require("luci.util").ubus("network.interface.%s" % interface, "status", {})
return dump['l3_device']
end
function mptcp_check_trace(iface)
luci.http.prepare_content("text/plain")
local tracebox