]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1273 in SNORT/snort3 from snort2lua_missing to master
authorMichael Altizer (mialtize) <mialtize@cisco.com>
Tue, 19 Jun 2018 20:31:13 +0000 (16:31 -0400)
committerMichael Altizer (mialtize) <mialtize@cisco.com>
Tue, 19 Jun 2018 20:31:13 +0000 (16:31 -0400)
Squashed commit of the following:

commit 2e9ad79321cb410c9f5a04009aa7b678943086c8
Author: Carter Waxman <cwaxman@cisco.com>
Date:   Thu Jun 14 13:01:06 2018 -0400

    snort2lua: added missing keyword to nap parsing

tools/snort2lua/preprocessor_states/pps_nap_selector.cc

index 67bcf0fe3643c1f22cfadd8408b42da0e43dff58..fe0a35f27ff2466d16ee6dd9697d3087eea6dfd9 100644 (file)
@@ -206,6 +206,12 @@ public:
                 cv.get_table_api().close_table();
                 tmpval = eat_option(data_stream);
             }
+            else if ( keyword == "fw_required" )
+            {
+                cv.get_table_api().open_top_level_table("binder");
+                cv.get_table_api().add_deleted_comment("fw_required");
+                cv.get_table_api().close_table();
+            }
             else
                 tmpval = false;