Implements bi-directional HTTP reqs/resps rates

This commit is contained in:
Simone Mainardi 2016-04-08 15:52:56 +02:00
parent e4dd2cba51
commit fdaf16a7ef
3 changed files with 274 additions and 17 deletions

View file

@ -378,7 +378,7 @@ function getOverallTopTalkers(interface_id, l4proto, port, info, begin_epoch, en
if tonumber(limit) > 0 then slice_limit = limit end
sql = sql.."limit "..slice_offset..","..slice_limit.." "
if(1 or db_debug == true) then io.write(sql.."\n") end
if(db_debug == true) then io.write(sql.."\n") end
res = interface.execSQLQuery(sql)
if(type(res) == "string") then