mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Add manufacturer filter to Layer 2 devices (#1011)
This commit is contained in:
parent
c33632c82a
commit
c39901bde9
6 changed files with 176 additions and 24 deletions
|
|
@ -18,6 +18,7 @@ local sortOrder = _GET["sortOrder"]
|
|||
local vlan = _GET["vlan"]
|
||||
local include_special_macs = _GET["include_special_macs"]
|
||||
local host_macs_only = _GET["host_macs_only"]
|
||||
local manufacturer = _GET["manufacturer"]
|
||||
|
||||
local sortPrefs = "macs"
|
||||
|
||||
|
|
@ -74,7 +75,7 @@ if(sortOrder == "desc") then sOrder = false else sOrder = true end
|
|||
local macs_stats = interface.getMacsInfo(sortColumn, perPage, to_skip, sOrder,
|
||||
tonumber(vlan),
|
||||
include_special_macs == false --[[ skip special macs ]],
|
||||
host_macs_only)
|
||||
host_macs_only, manufacturer)
|
||||
|
||||
local total_rows = 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue