From: Tom Peters (thopeter) Date: Tue, 20 Jun 2017 17:36:23 +0000 (-0400) Subject: Merge pull request #927 in SNORT/snort3 from flow_errors to master X-Git-Tag: 3.0.0-239~41 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8935390813e71c5fde1f92076e5ea110c9a2196e;p=thirdparty%2Fsnort3.git Merge pull request #927 in SNORT/snort3 from flow_errors to master Squashed commit of the following: commit de672298786ea7070ca647594ee8d9a511ab5f9d Author: allewi Date: Wed Jun 7 11:22:14 2017 -0400 removed unused code --- diff --git a/src/ips_options/ips_flow.cc b/src/ips_options/ips_flow.cc index c7d7498ad..162a91ffe 100644 --- a/src/ips_options/ips_flow.cc +++ b/src/ips_options/ips_flow.cc @@ -227,32 +227,6 @@ int OtnFlowFromClient(OptTreeNode* otn) return 0; } -int OtnFlowIgnoreReassembled(OptTreeNode* otn) -{ - FlowCheckOption* fco = - (FlowCheckOption*)get_rule_type_data(otn, s_name); - - if ( fco ) - { - if ( fco->config.ignore_reassembled ) - return 1; - } - return 0; -} - -int OtnFlowOnlyReassembled(OptTreeNode* otn) -{ - FlowCheckOption* fco = - (FlowCheckOption*)get_rule_type_data(otn, s_name); - - if ( fco ) - { - if ( fco->config.only_reassembled ) - return 1; - } - return 0; -} - //------------------------------------------------------------------------- // support methods //------------------------------------------------------------------------- diff --git a/src/ips_options/ips_flow.h b/src/ips_options/ips_flow.h index 6eedd691e..e52cca1c1 100644 --- a/src/ips_options/ips_flow.h +++ b/src/ips_options/ips_flow.h @@ -25,8 +25,6 @@ struct OptTreeNode; int OtnFlowFromServer(OptTreeNode*); int OtnFlowFromClient(OptTreeNode*); -int OtnFlowIgnoreReassembled(OptTreeNode*); -int OtnFlowOnlyReassembled(OptTreeNode*); #endif