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等主流版本 ### 主要使用场景 - 家长对小孩上网行为进行管控,限制小孩玩游戏等 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