examples: fix run mode name in live example

Ticket: #8439
pull/15139/head
Jason Ish 3 weeks ago committed by Victor Julien
parent adbf372bdd
commit 995ad5dc4e

@ -284,10 +284,10 @@ int main(int argc, char **argv)
/* Register our own library run mode. At this time, the ThreadVars /* Register our own library run mode. At this time, the ThreadVars
* for each capture thread need to be created in the provided * for each capture thread need to be created in the provided
* callback to meet thread synchronization requirements. */ * callback to meet thread synchronization requirements. */
RunModeRegisterNewRunMode( RunModeRegisterNewRunMode(RUNMODE_LIB, "live-example", "Live capture application run mode",
RUNMODE_LIB, "live", "Live capture application run mode", AppRunModeSetup, NULL); AppRunModeSetup, NULL);
if (!SCConfSetFromString("runmode=live", 1)) { if (!SCConfSetFromString("runmode=live-example", 1)) {
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }

Loading…
Cancel
Save