|
|
@ -1700,7 +1700,6 @@ static TmEcode ParseCommandLine(int argc, char** argv, SCInstance *suri)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if(strcmp((long_opts[option_index]).name, "disable-detection") == 0) {
|
|
|
|
else if(strcmp((long_opts[option_index]).name, "disable-detection") == 0) {
|
|
|
|
g_detect_disabled = suri->disabled_detect = 1;
|
|
|
|
g_detect_disabled = suri->disabled_detect = 1;
|
|
|
|
SCLogInfo("detection engine disabled");
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if(strcmp((long_opts[option_index]).name, "fatal-unittests") == 0) {
|
|
|
|
else if(strcmp((long_opts[option_index]).name, "fatal-unittests") == 0) {
|
|
|
|
#ifdef UNITTESTS
|
|
|
|
#ifdef UNITTESTS
|
|
|
@ -2804,6 +2803,7 @@ static int PostConfLoadedSetup(SCInstance *suri)
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
if (suri->disabled_detect) {
|
|
|
|
if (suri->disabled_detect) {
|
|
|
|
|
|
|
|
SCLogConfig("detection engine disabled");
|
|
|
|
/* disable raw reassembly */
|
|
|
|
/* disable raw reassembly */
|
|
|
|
(void)ConfSetFinal("stream.reassembly.raw", "false");
|
|
|
|
(void)ConfSetFinal("stream.reassembly.raw", "false");
|
|
|
|
}
|
|
|
|
}
|
|
|
|