]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
unified2: not supported message if configured
authorJason Ish <jason.ish@oisf.net>
Fri, 8 Nov 2019 22:22:24 +0000 (16:22 -0600)
committerVictor Julien <victor@inliniac.net>
Tue, 25 Feb 2020 06:37:00 +0000 (07:37 +0100)
src/runmodes.c

index 2e767e4397779869880f43aca0cc449b2152625c..1eaffec06b2720d49be9a8b7fce4060f3a1690aa 100644 (file)
@@ -760,6 +760,10 @@ void RunModeInitializeOutputs(void)
                     "(see https://redmine.openinfosecfoundation.org/issues/353"
                     " for an explanation)");
             continue;
+        } else if (strncmp(output->val, "unified2-", sizeof("unified2-") - 1) == 0) {
+            SCLogWarning(SC_ERR_NOT_SUPPORTED,
+                    "Unified2 is no longer supported.");
+            continue;
         } else if (strcmp(output->val, "alert-prelude") == 0) {
 #ifndef PRELUDE
             SCLogWarning(SC_ERR_NOT_SUPPORTED,