mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Remove help text in MPTCP interface
This commit is contained in:
parent
0b2d0560a6
commit
0a876e4ce5
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,7 @@ local ifaces = sys.net:devices()
|
||||||
local m, s, o
|
local m, s, o
|
||||||
local uname = nixio.uname()
|
local uname = nixio.uname()
|
||||||
|
|
||||||
m = Map("network", translate("MPTCP"), translate("Networks MPTCP settings. Visit <a href='http://multipath-tcp.org/pmwiki.php/Users/ConfigureMPTCP'>http://multipath-tcp.org/pmwiki.php/Users/ConfigureMPTCP</a> for help."))
|
m = Map("network", translate("MPTCP"), translate("Networks MPTCP settings."))
|
||||||
|
|
||||||
local unameinfo = nixio.uname() or { }
|
local unameinfo = nixio.uname() or { }
|
||||||
|
|
||||||
|
@ -48,6 +48,10 @@ if uname.release:sub(1,3) == "6.6" then
|
||||||
for dir in io.popen([[cd /usr/share/bpf/scheduler && ls -1 *.o | sed -e 's/.o//g' -e 's/mptcp_//g']]):lines() do
|
for dir in io.popen([[cd /usr/share/bpf/scheduler && ls -1 *.o | sed -e 's/.o//g' -e 's/mptcp_//g']]):lines() do
|
||||||
o:value(dir, dir)
|
o:value(dir, dir)
|
||||||
end
|
end
|
||||||
|
-- bpf_burst => same as the default scheduler
|
||||||
|
-- bpf_red => sends all packets redundantly on all available subflows
|
||||||
|
-- bpf_first => always picks the first subflow to send data
|
||||||
|
-- bpf_rr => always picks the next available subflow to send data (round-robin)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- if tonumber(uname.release:sub(1,4)) <= 5.15 then
|
-- if tonumber(uname.release:sub(1,4)) <= 5.15 then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue