1
0
Fork 0
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:
Ycarus 2018-03-13 15:35:28 +01:00
parent 5e6bac8d3b
commit fd9de47093

View file

@ -170,9 +170,9 @@ local function _nethints(what, callback)
luci.ip.neighbors(nil, function(neigh) luci.ip.neighbors(nil, function(neigh)
if neigh.mac and neigh.family == 4 then 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 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
end) end)