]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #2887 in SNORT/snort3 from ~MDAGON/snort3:update_print to master
authorTom Peters (thopeter) <thopeter@cisco.com>
Tue, 18 May 2021 17:03:57 +0000 (17:03 +0000)
committerTom Peters (thopeter) <thopeter@cisco.com>
Tue, 18 May 2021 17:03:57 +0000 (17:03 +0000)
Squashed commit of the following:

commit d58a66cbe0559ed5394f49cfef620cb65b237833
Author: Maya Dagon <mdagon@cisco.com>
Date:   Mon May 17 15:41:18 2021 -0400

    http2_inspect: update discard print

src/service_inspectors/http2_inspect/http2_stream_splitter.cc

index e3bd1392983623e2e24e00e4957ae84af633048e..5473ddbcf36bec18d390418b51bc42ba5df688cc 100644 (file)
@@ -159,7 +159,7 @@ const StreamBuffer Http2StreamSplitter::reassemble(Flow* flow, unsigned total, u
 #ifdef REG_TEST
         if (HttpTestManager::use_test_output(HttpTestManager::IN_HTTP2))
         {
-            fprintf(HttpTestManager::get_output_file(), "Discarded %u octets\n\n", len);
+            fprintf(HttpTestManager::get_output_file(), "HTTP/2 discarded %u octets\n\n", len);
             fflush(HttpTestManager::get_output_file());
         }
 #endif