From 486d00e9c9d7eee2188a1a95c57695425f74d877 Mon Sep 17 00:00:00 2001 From: "Michael Altizer (mialtize)" Date: Mon, 28 Nov 2016 10:37:44 -0500 Subject: [PATCH] Merge pull request #724 in SNORT/snort3 from gtp_duplicates to master Squashed commit of the following: commit abde9b0d9432302fc1ad7dc1a776d92525116564 Author: allewi 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/snort2lua/preprocessor_states/pps_gtp.cc b/tools/snort2lua/preprocessor_states/pps_gtp.cc index 368a1baf7..068205e0b 100644 --- a/tools/snort2lua/preprocessor_states/pps_gtp.cc +++ b/tools/snort2lua/preprocessor_states/pps_gtp.cc @@ -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 - -- 2.47.2