luci-app-turboacc: fix sfe detection
This commit is contained in:
parent
c52df75126
commit
21040a655d
@ -24,7 +24,7 @@ hw_flow.default = 0
|
||||
hw_flow.description = translate("Requires hardware NAT support. Implemented at least for mt7621")
|
||||
hw_flow:depends("sw_flow", 1)
|
||||
|
||||
if nixio.fs.access("/lib/modules/" .. kernel_version .. "/shortcut-fe.ko") then
|
||||
if nixio.fs.access("/lib/modules/" .. kernel_version .. "/fast-classifier.ko") then
|
||||
sfe_flow = s:option(Flag, "sfe_flow", translate("Shortcut-FE flow offloading"))
|
||||
sfe_flow.default = 0
|
||||
sfe_flow.description = translate("Shortcut-FE based offloading for routing/NAT")
|
||||
@ -89,4 +89,4 @@ dns_caching_v6_dns.default = "2001:4860:4860::8888,2001:4860:4860::8844,2001:200
|
||||
dns_caching_v6_dns.description = translate("Muitiple IPv6 DNS server can saperate with ','")
|
||||
dns_caching_v6_dns:depends("dns_caching_mode", 2)
|
||||
|
||||
return m
|
||||
return m
|
||||
|
||||
Loading…
Reference in New Issue
Block a user