]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
runmodes: remove obsolete references to pcap auto modes
authorJason Ish <jason.ish@oisf.net>
Fri, 27 Oct 2023 22:58:08 +0000 (16:58 -0600)
committerVictor Julien <victor@inliniac.net>
Mon, 30 Oct 2023 18:33:26 +0000 (19:33 +0100)
These auto modes were remove many years ago. Also cleanup the wording
a little.

Task: #6427

src/runmode-pcap-file.c
src/runmode-pcap.c

index e03592514fee435df041637183d7b7b0c47eaa59..7c5bfcc4c38a2674096e07b36369887569b72b81 100644 (file)
@@ -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;
index bfefe3ec0e4133ef60fee175cace7b810e9407b5..21c32846b737c709cfd82727e6d3c4c1e6c48450 100644 (file)
@@ -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"