]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
stats: fix stats not always syncing in flow timeout
authorVictor Julien <victor@inliniac.net>
Thu, 5 Dec 2019 08:20:31 +0000 (09:20 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 5 Dec 2019 08:20:31 +0000 (09:20 +0100)
src/tm-threads.c

index 512168c062b69f46138ec95ccdf6813f54e12065..c7cc6fe5049f30b0b941e143a06f624a5b368da3 100644 (file)
@@ -224,6 +224,7 @@ static int TmThreadTimeoutLoop(ThreadVars *tv, TmSlot *s)
         }
     }
     SCLogDebug("flow end loop complete");
+    StatsSyncCounters(tv);
 
     return r;
 }