mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Remove host macs and show source macs instead
This commit is contained in:
parent
3a79a06665
commit
02cec8a2be
14 changed files with 76 additions and 114 deletions
|
|
@ -743,7 +743,7 @@ local function discoverARP()
|
|||
status = discoverStatus("ERROR", i18n("discover.err_unable_to_arp_discovery"))
|
||||
else
|
||||
-- Add the known macs to the list
|
||||
local known_macs = interface.getMacsInfo(nil, 999, 0, false, true, true, nil) or {}
|
||||
local known_macs = interface.getMacsInfo(nil, 999, 0, false, true, nil) or {}
|
||||
|
||||
for _,hmac in pairs(known_macs.macs) do
|
||||
if((hmac["bytes.sent"] > 0) and (hmac["location"] == "lan")) then -- Skip silent/wan hosts
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue