OpenAppFilter: sync with upstream source
This commit is contained in:
parent
c925344519
commit
8dfcb1de35
@ -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);
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user