diff --git a/package/ctcgfw/luci-app-appfilter/luasrc/controller/appfilter.lua b/package/ctcgfw/luci-app-appfilter/luasrc/controller/appfilter.lua index 6bb4a0978f..f163d9bca0 100644 --- a/package/ctcgfw/luci-app-appfilter/luasrc/controller/appfilter.lua +++ b/package/ctcgfw/luci-app-appfilter/luasrc/controller/appfilter.lua @@ -53,15 +53,8 @@ end function user_status() - local s = require "luci.tools.status" local json = require "luci.jsonc" luci.http.prepare_content("application/json") - tb={} - obj={}; - obj.hostname="derry" - obj.ip="192.168.10.199" - obj.mac="192.168.10.199" - tb[#tb+1]=obj --local fs=require "nixio.fs" --local ok, status_data = pcall(json.parse, fs.readfile("/proc/net/af_client")) --luci.http.write_json(tb); diff --git a/package/ctcgfw/oaf/src/af_log.c b/package/ctcgfw/oaf/src/af_log.c index c17537220d..1dcc201468 100644 --- a/package/ctcgfw/oaf/src/af_log.c +++ b/package/ctcgfw/oaf/src/af_log.c @@ -6,7 +6,7 @@ #include #include "af_log.h" -int af_log_lvl = 2; +int af_log_lvl = 1; int af_test_mode = 0; /* cat /proc/sys/oaf/debug