netmap: minor output cleanup

pull/2739/head
Victor Julien 9 years ago
parent 1fef8569a5
commit fae822d82e

@ -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(

Loading…
Cancel
Save