]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1426 in SNORT/snort3 from ~SBAIGAL/snort3:stream_peg to master
authorTom Peters (thopeter) <thopeter@cisco.com>
Tue, 13 Nov 2018 15:30:34 +0000 (10:30 -0500)
committerTom Peters (thopeter) <thopeter@cisco.com>
Tue, 13 Nov 2018 15:30:34 +0000 (10:30 -0500)
Squashed commit of the following:

commit 596cb6a1f4c2ca9a90869206806b7869003b69fb
Author: Steven Baigal (sbaigal) <sbaigal@cisco.com>
Date:   Fri Nov 9 13:17:42 2018 -0500

    stream: fixed stream_base flow peg count sum_stats bug

src/stream/base/stream_base.cc

index 35f08c639cca8b0b9dbdd352116f193a0b79b29e..98adf10ddbc8e05910fadb9997d1d6910b755811 100644 (file)
@@ -100,6 +100,7 @@ void base_sum()
 
     sum_stats((PegCount*)&g_stats, (PegCount*)&stream_base_stats,
         array_size(base_pegs)-1);
+    base_reset();
 }
 
 void base_stats()