summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/root/usr/libexec/rpcd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-08-14 17:02:49 +0200
committerJo-Philipp Wich <jo@mein.io>2019-08-14 22:58:15 +0200
commit167ad7bb120bc30b186a70b66b0664434e54bc1b (patch)
tree864e6a54e33a564b8dc86fdd4934f5d1f95c6ba5 /modules/luci-base/root/usr/libexec/rpcd
parent9f032e02e466bcf03a3dae9c395316f309ab8a4e (diff)
luci-base: rpc: drop offload_support call
It is superseded by the more generic getFeatures method. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/root/usr/libexec/rpcd')
-rwxr-xr-xmodules/luci-base/root/usr/libexec/rpcd/luci7
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/luci-base/root/usr/libexec/rpcd/luci b/modules/luci-base/root/usr/libexec/rpcd/luci
index d2e90bc35d..7eac09214a 100755
--- a/modules/luci-base/root/usr/libexec/rpcd/luci
+++ b/modules/luci-base/root/usr/libexec/rpcd/luci
@@ -280,13 +280,6 @@ local methods = {
end
},
- offload_support = {
- call = function()
- local fs = require "nixio.fs"
- return { offload_support = not not fs.access("/sys/module/xt_FLOWOFFLOAD/refcnt") }
- end
- },
-
conntrack_helpers = {
call = function()
local fd = io.open("/usr/share/fw3/helpers.conf", "r")