]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #1053 in SNORT/snort3 from logger_rename1 to master
authorHui Cao (huica) <huica@cisco.com>
Fri, 27 Oct 2017 13:01:56 +0000 (09:01 -0400)
committerHui Cao (huica) <huica@cisco.com>
Fri, 27 Oct 2017 13:01:56 +0000 (09:01 -0400)
Squashed commit of the following:

commit 6e84b6c43e6899f03978e982b280e5972b87f15a
Author: Steve Chew <stechew@cisco.com>
Date:   Thu Oct 26 18:29:49 2017 -0400

    snort2lua: changed name of firewall_logging to sfunified2_logger.

tools/snort2lua/output_states/out_sfunified2.cc

index 00a11561e789dd2d0a0038460d4892083757a5d1..47c517ea61f88aa20df1713e36eff6031a151028 100644 (file)
@@ -43,7 +43,7 @@ namespace output
         std::string args;
         bool retval = true;
 
-        table_api.open_table("firewall_logging");
+        table_api.open_table("sfunified2_logger");
 
         while (std::getline(data_stream, args, ','))
         {
@@ -87,7 +87,7 @@ namespace output
 
     static ConversionState* ctor(Converter& c)
     {
-        c.get_table_api().open_top_level_table("firewall_logging"); // in case there are no arguments
+        c.get_table_api().open_top_level_table("sfunified2_logger"); // in case there are no arguments
         c.get_table_api().close_table();
         return new SfUnified2(c);
     }