]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
another tweak
authorJosh <jrosenba@cisco.com>
Wed, 29 Oct 2014 22:41:51 +0000 (15:41 -0700)
committerJosh <jrosenba@cisco.com>
Wed, 29 Oct 2014 22:41:51 +0000 (15:41 -0700)
tools/snort2lua/preprocessor_states/pps_normalizers.cc

index 47ab7a643ae93f6ef3f4141a91047054e59fd7f6..eba23b9d8904d0993505dccf5be74abc87ca2f96 100644 (file)
@@ -139,7 +139,7 @@ bool Ip4Normalizer::convert(std::istringstream& data_stream)
 static ConversionState* ip4_ctor(Converter& c)
 {
     c.get_table_api().open_table("normalizer");
-    c.get_table_api().table_api.open_table("ip4");
+    c.get_table_api().open_table("ip4");
     c.get_table_api().close_table();
     return new Ip4Normalizer(c);
 }
@@ -315,7 +315,7 @@ bool TcpNormalizer::convert(std::istringstream& data_stream)
 static ConversionState* tcp_ctor(Converter& c)
 {
     c.get_table_api().open_table("normalizer");
-    c.get_table_api().table_api.open_table("tcp");
+    c.get_table_api().open_table("tcp");
     c.get_table_api().close_table();
     return new TcpNormalizer(c);
 }