diff --git a/src/util-runmodes.c b/src/util-runmodes.c index fae2e7cf19..caaff71ec4 100644 --- a/src/util-runmodes.c +++ b/src/util-runmodes.c @@ -393,7 +393,7 @@ int RunModeSetLiveCaptureSingle(ConfigIfaceParserFunc ConfigParser, if (nlive > 1) { SCLogError(SC_ERR_RUNMODE, - "Can't use single runmode with multiple device"); + "Can't use the 'single' runmode with multiple devices"); exit(EXIT_FAILURE); } @@ -401,9 +401,8 @@ int RunModeSetLiveCaptureSingle(ConfigIfaceParserFunc ConfigParser, aconf = ConfigParser(live_dev); live_dev_c = live_dev; } else { - live_dev_c = LiveGetDeviceName(0); aconf = ConfigParser(live_dev_c); - /* \todo Set threads number in config to 1 */ + live_dev_c = LiveGetDeviceName(0); } return RunModeSetLiveCaptureWorkersForDevice(