mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Minor flow_utils.lua fixes
Fixes for: 02/Mar/2016 00:02:41 [Lua.cpp:4815] WARNING: Script failure [/Users/simone/code/ntopng/scripts/lua/host_stats.lua][error loading module 'flow_utils' from file '/Users/simone/code/ntopng/scripts/lua/modules/flow_utils.lua': ...rs/simone/code/ntopng/scripts/lua/modules/flow_utils.lua:1089: syntax error near '='] 02/Mar/2016 00:01:47 [Lua.cpp:4815] WARNING: Script failure [/Users/simone/code/ntopng/scripts/lua/host_stats.lua][error loading module 'flow_utils' from file '/Users/simone/code/ntopng/scripts/lua/modules/flow_utils.lua': ...rs/simone/code/ntopng/scripts/lua/modules/flow_utils.lua:1072: ')' expected near '_1']
This commit is contained in:
parent
51d6d4f048
commit
f97ee78d42
1 changed files with 2 additions and 2 deletions
|
|
@ -1069,7 +1069,7 @@ function getSIPTableRows(info)
|
|||
end
|
||||
string_table = string_table .. "</div></td><td><div id=time_invite_failure>\n"
|
||||
if(time_epoch_1 ~= "0") then
|
||||
string_table = string_table .. time_1 .." [" .. secondsToTime(os.time()-tonumber(time_epoch)_1) .. " ago]"
|
||||
string_table = string_table .. time_1 .." [" .. secondsToTime(os.time()-tonumber(time_epoch_1)) .. " ago]"
|
||||
end
|
||||
string_table = string_table .. "</div></td></tr>\n"
|
||||
|
||||
|
|
@ -1086,7 +1086,7 @@ function getSIPTableRows(info)
|
|||
string_table = string_table .. "</div></td></tr>\n"
|
||||
|
||||
time, time_epoch = getFlowValue(info, "SIP_CANCEL_TIME")
|
||||
time_1, tonumber(time_epoch_1) = getFlowValue(info, "SIP_CANCEL_OK_TIME")
|
||||
time_1, time_epoch_1 = getFlowValue(info, "SIP_CANCEL_OK_TIME")
|
||||
string_table = string_table .. "<tr><th width=30%>Time of Cancel / Cancel Ok</th><td><div id=time_cancel>"
|
||||
if(time_epoch ~= "0") then
|
||||
string_table = string_table .. time .." [" .. secondsToTime(os.time()-time_epoch) .. " ago]"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue