Skip to content

Commit

Permalink
修复 sys.net.arptable 不再被使用的兼容性问题
Browse files Browse the repository at this point in the history
  • Loading branch information
walkingsky committed Jul 12, 2021
1 parent df2bb15 commit 76ad568
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion luasrc/model/cbi/wifidog/wifidog_cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ m = Map("wifidog", "wifidog执行参数配置","")
mac.rmempty = false
mac.datatype = "list(macaddr)"

sys.net.arptable(function(entry)
--sys.net.arptable(function(entry)
ip.neighbors(function(entry)
mac:value(
entry["HW address"],
entry["HW address"] .. " (" .. entry["IP address"] .. ")"
Expand Down

0 comments on commit 76ad568

Please sign in to comment.