mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fix for system interface name
This commit is contained in:
parent
2ec3e4df85
commit
e59a787938
2 changed files with 5 additions and 3 deletions
|
|
@ -2006,7 +2006,9 @@ function shortenCollapse(s, max_len)
|
|||
end
|
||||
|
||||
function getHumanReadableInterfaceName(interface_name)
|
||||
if tonumber(interface_name) ~= nil then
|
||||
if(interface_name == "__system__") then
|
||||
return(i18n("system"))
|
||||
elseif tonumber(interface_name) ~= nil then
|
||||
-- convert ID to name
|
||||
interface_name = getInterfaceName(interface_name)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue