]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
runmodes: remove misleading commment
authorLukas Sismis <lsismis@oisf.net>
Tue, 22 Nov 2022 22:51:45 +0000 (23:51 +0100)
committerVictor Julien <vjulien@oisf.net>
Tue, 24 Jan 2023 09:44:49 +0000 (10:44 +0100)
src/runmodes.c

index 36617fff001d1c8b7aeeb28ba5acd94b0f943e02..ce0baf63292c4c851fa2d7412ab417b1aaeaee46 100644 (file)
@@ -381,7 +381,7 @@ static const char *RunModeGetConfOrDefault(int capture_mode, const char *capture
             default:
                 return NULL;
         }
-    } else { /* if (custom_mode == NULL) */
+    } else {
         /* Add compability with old 'worker' name */
         if (!strcmp("worker", custom_mode)) {
             char *local_custom_mode = NULL;