Merge branch 'dev' of https://github.com/ntop/ntopng into dev

This commit is contained in:
Luca Deri 2018-03-23 15:46:19 +01:00
commit cfcc88554d
14 changed files with 82 additions and 120 deletions

View file

@ -785,7 +785,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