"Fossies" - the Fresh Open Source Software Archive  

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

modules.cc  (snort3-3.1.31.0):modules.cc  (snort3-3.1.32.0)
skipping to change at line 396 skipping to change at line 396
"rule time profiling" }, "rule time profiling" },
{ nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr } { nullptr, Parameter::PT_MAX, nullptr, nullptr, nullptr }
}; };
#define profiler_help \ #define profiler_help \
"configure profiling of rules and/or modules" "configure profiling of rules and/or modules"
template<typename T> template<typename T>
static bool s_profiler_module_set_max_depth(T& config, Value& v) static bool s_profiler_module_set_max_depth(T& config, Value& v)
{ config.max_depth = v.get_uint8(); return true; } { config.max_depth = v.get_int16(); return true; }
static bool s_profiler_module_set_max_depth(RuleProfilerConfig&, Value&) static bool s_profiler_module_set_max_depth(RuleProfilerConfig&, Value&)
{ return false; } { return false; }
template<typename T> template<typename T>
static bool s_profiler_module_set(T& config, Value& v) static bool s_profiler_module_set(T& config, Value& v)
{ {
if ( v.is("count") ) if ( v.is("count") )
config.count = v.get_uint32(); config.count = v.get_uint32();
 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)