1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-14 11:31:51 +00:00

MPTCP Luci interface, set MPTCP version with select option

This commit is contained in:
Ycarus (Yannick Chabanois) 2022-10-03 14:03:40 +02:00
parent 8404d5e0e4
commit 66310e3866

View file

@ -44,9 +44,9 @@ if uname.release:sub(1,4) ~= "5.15" then
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 = s:option(ListValue, "mptcp_version", translate("Multipath TCP version"))
o:value(0, translate("0"))
o:value(1, translate("1"))
o.default = 0
end
o = s:option(ListValue, "congestion", translate("Congestion Control"),translate("Default is cubic"))