suricata: fix double packet processing threads

With the additional ParseInterfacesList the packet processing threads
were doubled since the Interface was included twice unless the device
was passed via the commandline with af-packet=IF.
The additonal ParseInterfacesList isn't necessary so remove it again
pull/2129/head
Andreas Herz 9 years ago committed by Victor Julien
parent 371113e21e
commit ed561c73a5

@ -2533,10 +2533,6 @@ int main(int argc, char **argv)
StatsSetupPostConfig();
}
if (ParseInterfacesList(suri.run_mode, suri.pcap_dev) != TM_ECODE_OK) {
exit(EXIT_FAILURE);
}
if (suri.run_mode == RUNMODE_CONF_TEST){
SCLogNotice("Configuration provided was successfully loaded. Exiting.");
MagicDeinit();

Loading…
Cancel
Save