mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Only display interface with mptcp enabled in mptcp check
This commit is contained in:
parent
606a74124e
commit
18468f06c1
3 changed files with 9 additions and 5 deletions
|
@ -812,10 +812,11 @@ function _ipv6_discover(interface)
|
|||
return ra6_result
|
||||
end
|
||||
|
||||
function mptcp_check_trace(interface)
|
||||
function mptcp_check_trace(iface)
|
||||
luci.http.prepare_content("text/plain")
|
||||
local tracebox
|
||||
local uci = require "luci.model.uci".cursor()
|
||||
local interface = get_device(iface)
|
||||
local server = uci:get("shadowsocks-libev", "sss0", "server") or ""
|
||||
if server == "" then return end
|
||||
if interface == "" then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue