mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Fixed but in host matrix where a nil could happen during host name conversion
If defines, mapped symbolic interface name in interfaces menu
This commit is contained in:
parent
4dd80d4778
commit
9e0907179e
3 changed files with 12 additions and 8 deletions
|
|
@ -181,8 +181,7 @@ for k,v in pairsByKeys(ifnames, asc) do
|
|||
if(v == ifname) then print("<i class=\"fa fa-check\"></i> ") end
|
||||
if (isPausedInterface(v)) then print('<i class="fa fa-pause"></i> ') end
|
||||
|
||||
|
||||
print(getHumanReadableInterfaceName(k..""))
|
||||
print(getHumanReadableInterfaceName(v..""))
|
||||
print("</a></li>\n")
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue