return 0;
}
- SCLogNotice("rule reload starting");
-
/* prepare swap structures */
DetectEngineThreadCtx *old_det_ctx[no_of_detect_tvs];
DetectEngineThreadCtx *new_det_ctx[no_of_detect_tvs];
SRepReloadComplete();
- SCLogNotice("rule reload complete");
return 1;
error:
char prefix[128];
memset(prefix, 0, sizeof(prefix));
+ SCLogNotice("rule reload starting");
+
if (suri->conf_filename != NULL) {
snprintf(prefix, sizeof(prefix), "detect-engine-reloads.%d", reloads++);
if (ConfYamlLoadFileWithPrefix(suri->conf_filename, prefix) != 0) {
DetectEnginePruneFreeList();
SCLogDebug("old_de_ctx should have been freed");
+
+ SCLogNotice("rule reload complete");
return 0;
}