]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1586 in SNORT/snort3 from ~KATHARVE/snort3:remove_histogram_comme...
authorTom Peters (thopeter) <thopeter@cisco.com>
Wed, 24 Apr 2019 21:44:11 +0000 (17:44 -0400)
committerTom Peters (thopeter) <thopeter@cisco.com>
Wed, 24 Apr 2019 21:44:11 +0000 (17:44 -0400)
Squashed commit of the following:

commit 3e8b8b74d24b518199b988c5ff21ccbfb995336d
Author: Katura Harvey <katharve@cisco.com>
Date:   Fri Apr 19 19:40:34 2019 -0400

    snort2lua: fix histogram option change comment

tools/snort2lua/preprocessor_states/pps_stream5_global.cc

index 48b66d5b7b610d5a240df43acf04adb31cafa8bb..dbcda8c114ae5a1d10652eefd8da4d8aaa830fb4 100644 (file)
@@ -80,11 +80,8 @@ bool StreamGlobal::convert(std::istringstream& data_stream)
             tmpval = parse_deleted_option("track_ip", arg_stream);
 
         else if (keyword == "prune_log_max")
-        {
-            table_api.add_diff_option_comment("prune_log_max", "histogram");
-            if (!eat_option(arg_stream))
-                tmpval = false;
-        }
+            tmpval = parse_deleted_option("prune_log_max", arg_stream);
+
         else if (keyword == "max_tcp")
         {
             table_api.open_table("tcp_cache");