]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
Merge pull request #724 in SNORT/snort3 from gtp_duplicates to master
authorMichael Altizer (mialtize) <mialtize@cisco.com>
Mon, 28 Nov 2016 15:37:44 +0000 (10:37 -0500)
committerMichael Altizer (mialtize) <mialtize@cisco.com>
Mon, 28 Nov 2016 15:37:44 +0000 (10:37 -0500)
Squashed commit of the following:

commit abde9b0d9432302fc1ad7dc1a776d92525116564
Author: allewi <allewi@cisco.com>
Date:   Sun Nov 27 13:08:38 2016 -0500

    added line to prevent duplicate gtp configurations from being printed

tools/snort2lua/preprocessor_states/pps_gtp.cc

index 368a1baf7ad6e1dc137b784764812d65ec08e8fd..068205e0b8afb99ca454f05896529e7dc5a5b995 100644 (file)
@@ -68,6 +68,8 @@ bool Gtp::convert(std::istringstream& data_stream)
     bind.set_when_proto("udp");
     bind.set_use_type("gtp_inspect");
 
+    converted_args = true;
+
     table_api.open_table("gtp_inspect");
 
     // parse the file configuration
@@ -134,4 +136,3 @@ static const ConvertMap preprocessor_gtp =
 
 const ConvertMap* gtp_map = &preprocessor_gtp;
 } // namespace preprocessors
-