Skip to content

Commit

Permalink
runmodes: remove obsolete references to pcap auto modes
Browse files Browse the repository at this point in the history
These auto modes were remove many years ago. Also cleanup the wording
a little.

Task: OISF#6427
  • Loading branch information
jasonish committed Oct 27, 2023
1 parent 2fe2d82 commit 7f157f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 2 additions & 5 deletions src/runmode-pcap-file.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
7 changes: 2 additions & 5 deletions src/runmode-pcap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7f157f3

Please sign in to comment.