ARP fixes

This commit is contained in:
Luca Deri 2018-03-22 23:31:24 +01:00
parent f0c936c368
commit caf83f1ad0
5 changed files with 65 additions and 47 deletions

View file

@ -58,7 +58,10 @@ local host_macs_only = false
local dhcp_macs_only = false
if devices_mode == "host_macs_only" then
host_macs_only = true
-- The statement below has been commented as for hosts mac we mean hosts that
-- have sent ARP reqeusts and thus that are real hosts, NOT that they are L3 hosts
-- as this is a L2 script
-- host_macs_only = true
source_macs_only = true
elseif devices_mode == "dhcp_macs_only" then
dhcp_macs_only = true