mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Added changes to seamlessly use LuaJIT (default) or the standard (non JIT) Lua
This commit is contained in:
parent
3cf623901c
commit
203404df5b
9 changed files with 24 additions and 25 deletions
|
|
@ -519,7 +519,7 @@ function handleCustomFlowField(key, value, snmpdevice)
|
|||
elseif((key == 'FLOW_USER_NAME') or (key == '57593')) then
|
||||
elems = string.split(value, ';')
|
||||
|
||||
if((elems ~= nil) and (table.getn(elems) == 6)) then
|
||||
if((elems ~= nil) and (#elems == 6)) then
|
||||
r = '<table class="table table-bordered table-striped">'
|
||||
imsi = elems[1]
|
||||
mcc = string.sub(imsi, 1, 3)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue