mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixes wrong count of unhandled flows in disaggregated interfaces
This commit is contained in:
parent
d5809954e6
commit
b2bbc6d745
3 changed files with 18 additions and 27 deletions
|
|
@ -2281,16 +2281,7 @@ function getHumanReadableInterfaceName(interface_name)
|
|||
if not isEmptyString(custom_name) then
|
||||
return(shortenCollapse(custom_name))
|
||||
else
|
||||
interface.select(interface_name)
|
||||
local _ifstats = interface.getStats()
|
||||
|
||||
local nm = _ifstats.name
|
||||
if(string.contains(nm, "{")) then -- Windows
|
||||
nm = _ifstats.description
|
||||
end
|
||||
|
||||
-- print(interface_name.."=".._ifstats.name)
|
||||
return(shortenCollapse(nm or ''))
|
||||
return getInterfaceName(interface_name)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue