Remove DHCP flag on the MAC

Now the concept of DHCP host is bound to an Host rather than a Mac
This commit is contained in:
emanuele-f 2019-02-26 18:42:42 +01:00
parent 347bc2062e
commit 4cb88b56a9
11 changed files with 30 additions and 74 deletions

View file

@ -54,12 +54,9 @@ else
end
local source_macs_only = false
local dhcp_macs_only = false
if devices_mode == "source_macs_only" then
source_macs_only = true
elseif devices_mode == "dhcp_macs_only" then
dhcp_macs_only = true
source_macs_only = true
end
interface.select(ifname)
@ -71,7 +68,7 @@ if(sortOrder == "desc") then sOrder = false else sOrder = true end
local macs_stats = interface.getMacsInfo(sortColumn, perPage, to_skip, sOrder,
source_macs_only, manufacturer,
nil, device_type, "", dhcp_macs_only)
nil, device_type, "")
local total_rows = 0