From 9b3edc6edb8529f941e757ed634890128181d03e Mon Sep 17 00:00:00 2001 From: Zhen Zhang Date: Tue, 2 Jun 2020 11:23:50 +0800 Subject: [PATCH 1/2] Update appfilter.lua delete debugging code so that it is compatible with the newest snapshot openwrt (it still require an acl to work) --- luci-app-oaf/luasrc/controller/appfilter.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/luci-app-oaf/luasrc/controller/appfilter.lua b/luci-app-oaf/luasrc/controller/appfilter.lua index d767df9..7521218 100755 --- a/luci-app-oaf/luasrc/controller/appfilter.lua +++ b/luci-app-oaf/luasrc/controller/appfilter.lua @@ -24,10 +24,8 @@ function get_hostname_by_mac(dst_mac) break end local ts, mac, ip, name, duid = ln:match("^(%d+) (%S+) (%S+) (%S+) (%S+)") - print(ln) if dst_mac == mac then - print("match mac", mac, "hostname=", name); - fd:close() + fd:close() return name end end From 2fd17bb6e62597037dc80ee336a422c8b8797856 Mon Sep 17 00:00:00 2001 From: Derry Date: Mon, 8 Jun 2020 09:45:26 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e5af663..87c3250 100755 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ OpenAppFilter模块基于数据流深度识别技术,实现对单个app进行 该模块支持主流linux版本,目前主要在OpenWrt各版本中测试,支持OpenWrt 15.05、OpenWrt 18.06、 -OpenWrt 19.07、 LEDE等主流版本 +OpenWrt 19.07等主流版本 ### 主要使用场景 - 家长对小孩上网行为进行管控,限制小孩玩游戏等