]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
main: change main thread name back to just 'snort3' (#5295)
authorMichael Matirko <mmatirko@cisco.com>
Wed, 22 Apr 2026 14:54:09 +0000 (10:54 -0400)
committerGitHub <noreply@github.com>
Wed, 22 Apr 2026 14:54:09 +0000 (10:54 -0400)
src/main/thread_config.cc

index b66feeae570d282e18cd6755b9e3ab4ce22c9f5f..8ad00a29a00148c1753f4aa534e7e28fda6ef901 100644 (file)
@@ -420,7 +420,9 @@ void ThreadConfig::implement_thread_affinity(SThreadType type, unsigned id)
 
     if (type == STHREAD_TYPE_MAIN)
     {
-        thread_name = "snort3.main";
+        // Keep the main thread's name simply "snort3" since
+        // this is what is expected when attempting to find running Snort processes.
+        thread_name = "snort3";
         thread_name_suffix = "";
     }
     else