mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
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:
parent
347bc2062e
commit
4cb88b56a9
11 changed files with 30 additions and 74 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue