vppapitrace: Fixed trace dump API result issue.
[vpp.git] / src / plugins / tracedump / tracedump.c
index 6510a94..08d338b 100644 (file)
@@ -288,9 +288,9 @@ vl_api_trace_dump_t_handler (vl_api_trace_dump_t * mp)
            {
              /* More threads, but not more in this thread? */
              if (j == (vec_len (client_trace_cache[i]) - 1))
-               dmp->more_threads = 1;
+               last_more_threads = dmp->more_threads = 1;
              else
-               dmp->more_this_thread = 1;
+               last_more_this_thread = dmp->more_this_thread = 1;
            }
          /* Done, may or may not be at the end of a batch. */
          dmp->done = 0;