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:
Luca Deri 2015-09-16 19:15:22 +02:00
parent 4dd80d4778
commit 9e0907179e
3 changed files with 12 additions and 8 deletions

View file

@ -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