"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/network_inspectors/perf_monitor/perf_monitor.cc" between
snort3-3.1.29.0.tar.gz and snort3-3.1.30.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.

perf_monitor.cc  (snort3-3.1.29.0):perf_monitor.cc  (snort3-3.1.30.0)
skipping to change at line 149 skipping to change at line 149
static const char* to_string(const PerfFormat& pf) static const char* to_string(const PerfFormat& pf)
{ {
switch (pf) switch (pf)
{ {
case PerfFormat::TEXT: case PerfFormat::TEXT:
return "text"; return "text";
case PerfFormat::CSV: case PerfFormat::CSV:
return "csv"; return "csv";
case PerfFormat::JSON: case PerfFormat::JSON:
return "json"; return "json";
#ifdef HAVE_FLATBUFFERS
case PerfFormat::FBS:
return "flatbuffers";
#endif
case PerfFormat::MOCK: case PerfFormat::MOCK:
return "mock"; return "mock";
} }
return ""; return "";
} }
void PerfMonitor::show(const SnortConfig*) const void PerfMonitor::show(const SnortConfig*) const
{ {
ConfigLogger::log_flag("base", config->perf_flags & PERF_BASE); ConfigLogger::log_flag("base", config->perf_flags & PERF_BASE);
 End of changes. 1 change blocks. 
4 lines changed or deleted 0 lines changed or added

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