"Fossies" - the Fresh Open Source Software Archive  

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

event_manager.cc  (snort3-3.1.31.0):event_manager.cc  (snort3-3.1.32.0)
skipping to change at line 233 skipping to change at line 233
for ( auto p : s_loggers.outputs ) for ( auto p : s_loggers.outputs )
p->open(); p->open();
} }
void EventManager::close_outputs() void EventManager::close_outputs()
{ {
for ( auto p : s_loggers.outputs ) for ( auto p : s_loggers.outputs )
p->close(); p->close();
} }
void EventManager::reload_outputs()
{
for ( auto p : s_loggers.outputs )
p->reload();
LogMessage("logger file reinitialized\n");
}
void EventManager::call_alerters( void EventManager::call_alerters(
OutputSet* idx, Packet* pkt, const char* message, const Event& event) OutputSet* idx, Packet* pkt, const char* message, const Event& event)
{ {
if ( idx ) if ( idx )
{ {
for ( auto p : idx->outputs ) for ( auto p : idx->outputs )
p->alert(pkt, message, event); p->alert(pkt, message, event);
return; return;
} }
for ( auto p : s_loggers.outputs ) for ( auto p : s_loggers.outputs )
 End of changes. 1 change blocks. 
0 lines changed or deleted 7 lines changed or added

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