mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00
luci app flow HWNAT depends fix
This commit is contained in:
parent
1306b0d11c
commit
56731cc3a1
@ -1,4 +1,4 @@
|
||||
src-git packages https://github.com/openwrt/packages.git;openwrt-18.06
|
||||
src-git luci https://github.com/openwrt/luci.git^80cb4fef8c7db0dadc373fef122d7abb092a7191
|
||||
src-git luci https://github.com/openwrt/luci.git^fb70693b7db1d4fcaf79f1ed2a3dadd9cd0ecd45
|
||||
src-git routing https://git.openwrt.org/feed/routing.git;openwrt-18.06
|
||||
#src-git telephony https://git.openwrt.org/feed/telephony.git;openwrt-18.06
|
@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for Flow Offload
|
||||
LUCI_DEPENDS:=@LINUX_4_14
|
||||
LUCI_PKGARCH:=all
|
||||
PKG_VERSION:=1.0
|
||||
PKG_RELEASE:=6
|
||||
PKG_RELEASE:=7
|
||||
|
||||
include $(TOPDIR)/feeds/luci/luci.mk
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
module("luci.controller.flowoffload", package.seeall)
|
||||
|
||||
function index()
|
||||
if not nixio.fs.access("/etc/config/firewall") then
|
||||
if not nixio.fs.access("/sys/module/xt_FLOWOFFLOAD/refcnt") then
|
||||
return
|
||||
end
|
||||
local page
|
||||
|
@ -19,6 +19,7 @@ hw = s:option(Flag, "flow_offloading_hw", translate("HWNAT"))
|
||||
hw.default = 0
|
||||
hw.rmempty = false
|
||||
hw.description = translate("Enable Hardware NAT (depends on hw capability like MTK 762x)")
|
||||
hw:depends( "flow_offloading", 1)
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user