mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixes for MAC address listing
Enhanced numeric MAC -> symbolic MAC conversion
This commit is contained in:
parent
39118bbf74
commit
2243804a94
5 changed files with 53 additions and 30 deletions
|
|
@ -103,7 +103,11 @@ if((mode == nil) or (mode == "")) then mode = "all" end
|
|||
interface.select(ifname)
|
||||
|
||||
if((aggregation == nil) and (aggregated == nil)) then
|
||||
hosts_stats = interface.getHostsInfo(false)
|
||||
if((mac ~= nil) or (antenna_mac ~= nil)) then
|
||||
hosts_stats = interface.getLocalHostsInfo()
|
||||
else
|
||||
hosts_stats = interface.getHostsInfo(false)
|
||||
end
|
||||
else
|
||||
hosts_stats = interface.getAggregatedHostsInfo(tonumber(protocol), client)
|
||||
protocol = nil -- Not applicable
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue