From ed561c73a5a8d41f70be4af61adbd6de90a19b91 Mon Sep 17 00:00:00 2001 From: Andreas Herz Date: Tue, 31 May 2016 23:18:06 +0200 Subject: [PATCH] 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 --- src/suricata.c | 4 ---- 1 file changed, 4 deletions(-) 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();