From: Jason Ish Date: Fri, 27 Oct 2023 22:58:08 +0000 (-0600) Subject: runmodes: remove obsolete references to pcap auto modes X-Git-Tag: suricata-7.0.3~94 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=804c5b737bd70b98d3e922c668ef49cb87a9a0a0;p=thirdparty%2Fsuricata.git runmodes: remove obsolete references to pcap auto modes These auto modes were remove many years ago. Also cleanup the wording a little. Task: #6427 --- diff --git a/src/runmode-pcap-file.c b/src/runmode-pcap-file.c index e03592514f..7c5bfcc4c3 100644 --- a/src/runmode-pcap-file.c +++ b/src/runmode-pcap-file.c @@ -42,11 +42,8 @@ void RunModeFilePcapRegister(void) RunModeRegisterNewRunMode(RUNMODE_PCAP_FILE, "single", "Single threaded pcap file mode", RunModeFilePcapSingle, NULL); RunModeRegisterNewRunMode(RUNMODE_PCAP_FILE, "autofp", - "Multi threaded pcap file mode. Packets from " - "each flow are assigned to a single detect thread, " - "unlike \"pcap-file-auto\" where packets from " - "the same flow can be processed by any detect " - "thread", + "Multi-threaded pcap file mode. Packets from each flow are assigned to a consistent " + "detection thread", RunModeFilePcapAutoFp, NULL); return; diff --git a/src/runmode-pcap.c b/src/runmode-pcap.c index bfefe3ec0e..21c32846b7 100644 --- a/src/runmode-pcap.c +++ b/src/runmode-pcap.c @@ -41,11 +41,8 @@ void RunModeIdsPcapRegister(void) RunModeRegisterNewRunMode(RUNMODE_PCAP_DEV, "single", "Single threaded pcap live mode", RunModeIdsPcapSingle, NULL); RunModeRegisterNewRunMode(RUNMODE_PCAP_DEV, "autofp", - "Multi threaded pcap live mode. Packets from " - "each flow are assigned to a single detect thread, " - "unlike \"pcap_live_auto\" where packets from " - "the same flow can be processed by any detect " - "thread", + "Multi-threaded pcap live mode. Packets from each flow are assigned to a consistent " + "detection thread", RunModeIdsPcapAutoFp, NULL); RunModeRegisterNewRunMode(RUNMODE_PCAP_DEV, "workers", "Workers pcap live mode, each thread does all"