Added DHCP filtering in L2 devices

This commit is contained in:
Luca Deri 2017-09-18 16:24:36 +02:00
parent c45cad108e
commit bbb5b96d3e
8 changed files with 79 additions and 34 deletions

View file

@ -88,7 +88,8 @@ end
local macs_stats = interface.getMacsInfo(nil, nil, nil, nil,
tonumber(vlan),
true --[[ sourceMacsOnly ]],
true --[[ hostMacsOnly ]], nil--[[manufacturer]], tonumber(host_pools_utils.DEFAULT_POOL_ID))
true --[[ hostMacsOnly ]], nil--[[manufacturer]],
tonumber(host_pools_utils.DEFAULT_POOL_ID), false)
if (macs_stats ~= nil) then
macs_stats = macs_stats.macs