This commit is contained in:
destan19@126.com 2020-06-15 13:49:33 +08:00
commit 08f07db43d
2 changed files with 2 additions and 4 deletions

View File

@ -4,7 +4,7 @@ OpenAppFilter模块基于数据流深度识别技术实现对单个app进行
该模块支持主流linux版本目前主要在OpenWrt各版本中测试支持OpenWrt 15.05、OpenWrt 18.06、
OpenWrt 19.07、 LEDE等主流版本
OpenWrt 19.07等主流版本
### 主要使用场景
- 家长对小孩上网行为进行管控,限制小孩玩游戏等

View File

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