workers runmode: allow multiple input devices

This fix allows multiple input devices when running in 'workers' mode.
pull/1712/head
cardigliano 11 years ago committed by Victor Julien
parent 16b210f1ea
commit c2704c3933

@ -420,7 +420,7 @@ int RunModeSetLiveCaptureWorkers(ConfigIfaceParserFunc ConfigParser,
for (ldev = 0; ldev < nlive; ldev++) {
char *live_dev_c = NULL;
if (live_dev != NULL) {
if ((nlive <= 1) && (live_dev != NULL)) {
aconf = ConfigParser(live_dev);
live_dev_c = SCStrdup(live_dev);
if (unlikely(live_dev_c == NULL)) {

Loading…
Cancel
Save