mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fixed possible undefined interface name
If CSRF has been validated, valid_csrf is now put on _GET
This commit is contained in:
parent
f91fbe3d94
commit
ada218c00e
2 changed files with 2 additions and 5 deletions
|
|
@ -1622,6 +1622,7 @@ end
|
|||
|
||||
|
||||
function getInterfaceNameAlias(interface_name)
|
||||
if(interface_name == nil) then return("") end
|
||||
-- io.write(debug.traceback().."\n")
|
||||
label = ntop.getCache('ntopng.prefs.'..interface_name..'.name')
|
||||
if((label == nil) or (label == "")) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue