LuaCallbackStatsPushToStackFromFlow tuple is composed of integer values
not all of them had been converted to lua_pushinteger yet.
static int LuaCallbackStatsPushToStackFromFlow(lua_State *luastate, const Flow *f)
{
lua_pushinteger(luastate, f->todstpktcnt);
- lua_pushnumber(luastate, f->todstbytecnt);
+ lua_pushinteger(luastate, f->todstbytecnt);
lua_pushinteger(luastate, f->tosrcpktcnt);
- lua_pushnumber(luastate, f->tosrcbytecnt);
+ lua_pushinteger(luastate, f->tosrcbytecnt);
return 4;
}