mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Fix overview page
This commit is contained in:
parent
5e6bac8d3b
commit
fd9de47093
1 changed files with 2 additions and 2 deletions
|
@ -170,9 +170,9 @@ local function _nethints(what, callback)
|
|||
|
||||
luci.ip.neighbors(nil, function(neigh)
|
||||
if neigh.mac and neigh.family == 4 then
|
||||
_add(what, neigh.mac:upper(), neigh.dest:string(), nil, nil)
|
||||
_add(what, neigh.mac:string(), neigh.dest:string(), nil, nil)
|
||||
elseif neigh.mac and neigh.family == 6 then
|
||||
_add(what, neigh.mac:upper(), nil, neigh.dest:string(), nil)
|
||||
_add(what, neigh.mac:string(), nil, neigh.dest:string(), nil)
|
||||
end
|
||||
end)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue