"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/analyzer_command.cc" between
snort3-3.1.28.0.tar.gz and snort3-3.1.29.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.

analyzer_command.cc  (snort3-3.1.28.0):analyzer_command.cc  (snort3-3.1.29.0)
skipping to change at line 47 skipping to change at line 47
#include "reload_tracker.h" #include "reload_tracker.h"
#include "reload_tuner.h" #include "reload_tuner.h"
#include "snort.h" #include "snort.h"
#include "snort_config.h" #include "snort_config.h"
#include "swapper.h" #include "swapper.h"
using namespace snort; using namespace snort;
void AnalyzerCommand::log_message(ControlConn* ctrlcon, const char* format, va_l ist& ap) void AnalyzerCommand::log_message(ControlConn* ctrlcon, const char* format, va_l ist& ap)
{ {
LogMessage(format, ap);
if (ctrlcon && !ctrlcon->is_local()) if (ctrlcon && !ctrlcon->is_local())
ctrlcon->respond(format, ap); {
va_list rap;
va_copy(rap, ap);
ctrlcon->respond(format, rap);
va_end(rap);
}
LogMessage(format, ap);
} }
void AnalyzerCommand::log_message(ControlConn* ctrlcon, const char* format, ...) void AnalyzerCommand::log_message(ControlConn* ctrlcon, const char* format, ...)
{ {
va_list args; va_list args;
va_start(args, format); va_start(args, format);
log_message(ctrlcon, format, args); log_message(ctrlcon, format, args);
va_end(args); va_end(args);
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 7 lines changed or added

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