From 7f157f349e42b1f6c5290abb75304307c162c029 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Fri, 27 Oct 2023 16:58:08 -0600 Subject: [PATCH] runmodes: remove obsolete references to pcap auto modes These auto modes were remove many years ago. Also cleanup the wording a little. Task: #6427 --- src/runmode-pcap-file.c | 7 ++----- src/runmode-pcap.c | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/runmode-pcap-file.c b/src/runmode-pcap-file.c index e03592514fee..7c5bfcc4c38a 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 bfefe3ec0e41..21c32846b737 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"