From 8404d5e0e4511c457a306dd675863140e375fce3 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 30 Sep 2022 19:40:21 +0200 Subject: [PATCH 1/2] Change luci-app-firewall dependencies --- luci-app-firewall/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci-app-firewall/Makefile b/luci-app-firewall/Makefile index 372169986..e6e891e2d 100644 --- a/luci-app-firewall/Makefile +++ b/luci-app-firewall/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk LUCI_TITLE:=Firewall and Portforwarding application -LUCI_DEPENDS:=+firewall +LUCI_DEPENDS:=+@LINUX_5_4:firewall +@LINUX_5_15:uci-firewall PKG_LICENSE:=Apache-2.0 PKG_VERSION:=omr-202103 From 66310e38665f4d25f8dd27cc88113534fa924522 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Mon, 3 Oct 2022 14:03:40 +0200 Subject: [PATCH 2/2] MPTCP Luci interface, set MPTCP version with select option --- luci-app-mptcp/luasrc/model/cbi/mptcp.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/luci-app-mptcp/luasrc/model/cbi/mptcp.lua b/luci-app-mptcp/luasrc/model/cbi/mptcp.lua index b95eca4ff..6c9091033 100644 --- a/luci-app-mptcp/luasrc/model/cbi/mptcp.lua +++ b/luci-app-mptcp/luasrc/model/cbi/mptcp.lua @@ -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"))