"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/parser/parser.cc" between
snort3-3.1.31.0.tar.gz and snort3-3.1.32.0.tar.gz

About: Snort 3 is a network intrusion prevention and detection system (IDS/IPS) combining the benefits of signature, protocol and anomaly-based inspection.

parser.cc  (snort3-3.1.31.0):parser.cc  (snort3-3.1.32.0)
skipping to change at line 701 skipping to change at line 701
void OrderRuleLists(SnortConfig* sc) void OrderRuleLists(SnortConfig* sc)
{ {
int evalIndex = 0; int evalIndex = 0;
RuleListNode* ordered_list = nullptr; RuleListNode* ordered_list = nullptr;
std::string default_priorities; std::string default_priorities;
const char* order = sc->rule_order.c_str(); const char* order = sc->rule_order.c_str();
if ( !*order ) if ( !*order )
{ {
default_priorities = Actions::get_default_priorities(); // FIXIT-M appl y builtin module defaults default_priorities = Actions::get_default_priorities();
order = default_priorities.c_str(); order = default_priorities.c_str();
} }
std::stringstream ss(order); std::stringstream ss(order);
std::string tok; std::string tok;
while ( ss >> tok ) while ( ss >> tok )
{ {
RuleListNode* prev = nullptr; RuleListNode* prev = nullptr;
RuleListNode* node = sc->rule_lists; RuleListNode* node = sc->rule_lists;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)