mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Add Multipath version support
This commit is contained in:
parent
03802f5b47
commit
5d38d60559
2 changed files with 10 additions and 0 deletions
|
@ -43,6 +43,12 @@ if uname.release:sub(1,4) ~= "5.15" then
|
|||
o.datatype = "uinteger"
|
||||
o.rmempty = false
|
||||
end
|
||||
if uname.release:sub(1,4) ~= "5.15" then
|
||||
o = s:option(Value, "mptcp_version", translate("Multipath TCP version"))
|
||||
o.datatype = "uinteger"
|
||||
o.rmempty = false
|
||||
o.default = 0
|
||||
end
|
||||
o = s:option(ListValue, "congestion", translate("Congestion Control"),translate("Default is cubic"))
|
||||
local availablecong = sys.exec("sysctl -n net.ipv4.tcp_available_congestion_control | xargs -n1 | sort | xargs")
|
||||
for cong in string.gmatch(availablecong, "[^%s]+") do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue