Fixed bug in interface switch

This commit is contained in:
Luca Deri 2016-06-14 16:46:39 +02:00
parent a69606475b
commit a26dbe0a6a
5 changed files with 19 additions and 6 deletions

View file

@ -1607,6 +1607,7 @@ end
function getInterfaceNameAlias(interface_name)
-- io.write(debug.traceback().."\n")
label = ntop.getCache('ntopng.prefs.'..interface_name..'.name')
if((label == nil) or (label == "")) then
return(interface_name)