OpenAppFilter: sync with upstream source

This commit is contained in:
CN_SZTL 2020-03-03 15:29:25 +08:00
parent c925344519
commit 8dfcb1de35
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
2 changed files with 1 additions and 8 deletions

View File

@ -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);

View File

@ -6,7 +6,7 @@
#include <linux/sysctl.h>
#include "af_log.h"
int af_log_lvl = 2;
int af_log_lvl = 1;
int af_test_mode = 0;
/*
cat /proc/sys/oaf/debug