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:
parent
1e80f019e9
commit
d1a7f6cd95
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue