"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/service_inspectors/wizard/wizard.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.

wizard.cc  (snort3-3.1.31.0):wizard.cc  (snort3-3.1.32.0)
skipping to change at line 279 skipping to change at line 279
w.spell = c2s_spells->page1(); w.spell = c2s_spells->page1();
} }
else else
{ {
w.hex = s2c_hexes->page1(); w.hex = s2c_hexes->page1();
w.spell = s2c_spells->page1(); w.spell = s2c_spells->page1();
} }
if ( w.curse_tracker.empty() ) if ( w.curse_tracker.empty() )
{ {
vector<const CurseDetails*> pages = curses->get_curses(tcp); for ( const CurseDetails* curse : curses->get_curses(tcp) )
for ( const CurseDetails* curse : pages )
{ {
if ( tcp ) if ( tcp )
w.curse_tracker.emplace_back( CurseServiceTracker{ curse, new Cu rseTracker } ); w.curse_tracker.emplace_back( CurseServiceTracker{ curse, new Cu rseTracker } );
else else
w.curse_tracker.emplace_back( CurseServiceTracker{ curse, nullpt r } ); w.curse_tracker.emplace_back( CurseServiceTracker{ curse, nullpt r } );
} }
} }
} }
void Wizard::eval(Packet* p) void Wizard::eval(Packet* p)
 End of changes. 1 change blocks. 
3 lines changed or deleted 1 lines changed or added

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