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 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"))