Improve warning if prelude output is selected but support not compiled in. #320.

remotes/origin/master
Victor Julien 14 years ago
parent e7b36051de
commit 79d5ef3707

@ -382,6 +382,14 @@ void RunModeInitializeOutputs(void)
"(see https://redmine.openinfosecfoundation.org/issues/353"
" for an explanation)");
continue;
} else if (strcmp(output->val, "alert-prelude") == 0) {
#ifndef PRELUDE
SCLogWarning(SC_ERR_INVALID_ARGUMENT,
"Prelude support not compiled in. Reconfigure/"
"recompile with --enable-prelude to add Prelude "
"support.");
continue;
#endif
}
OutputModule *module = OutputGetModuleByConfName(output->val);

Loading…
Cancel
Save