Skip to content

Commit 995ad5d

Browse files
jasonishvictorjulien
authored andcommitted
examples: fix run mode name in live example
Ticket: OISF#8439
1 parent adbf372 commit 995ad5d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

examples/lib/live/main.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,10 @@ int main(int argc, char **argv)
284284
/* Register our own library run mode. At this time, the ThreadVars
285285
* for each capture thread need to be created in the provided
286286
* callback to meet thread synchronization requirements. */
287-
RunModeRegisterNewRunMode(
288-
RUNMODE_LIB, "live", "Live capture application run mode", AppRunModeSetup, NULL);
287+
RunModeRegisterNewRunMode(RUNMODE_LIB, "live-example", "Live capture application run mode",
288+
AppRunModeSetup, NULL);
289289

290-
if (!SCConfSetFromString("runmode=live", 1)) {
290+
if (!SCConfSetFromString("runmode=live-example", 1)) {
291291
exit(EXIT_FAILURE);
292292
}
293293

0 commit comments

Comments
 (0)