From: Andreas Herz Date: Tue, 31 May 2016 21:18:06 +0000 (+0200) Subject: suricata: fix double packet processing threads X-Git-Tag: suricata-3.1RC1~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed561c73a5a8d41f70be4af61adbd6de90a19b91;p=thirdparty%2Fsuricata.git 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 --- diff --git a/src/suricata.c b/src/suricata.c index cad97fcfe0..f486300c90 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -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();