]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
log/sguil: Issue deprecation notice if sguil mode
authorJeff Lucovsky <jlucovsky@oisf.net>
Tue, 16 Jan 2024 15:10:35 +0000 (10:10 -0500)
committerVictor Julien <victor@inliniac.net>
Sat, 20 Jan 2024 19:59:25 +0000 (20:59 +0100)
Issue: 6688

src/log-pcap.c

index 1e1b6da1fb55dbf543625a81f91a44dfa7de87ba..a20fc84c3772600f8758406d85a29ac18816e29e 100644 (file)
@@ -1437,6 +1437,8 @@ static OutputInitResult PcapLogInitCtx(ConfNode *conf)
         if (s_mode != NULL) {
             if (strcasecmp(s_mode, "sguil") == 0) {
                 pl->mode = LOGMODE_SGUIL;
+                SCLogWarning("sguil mode is deprecated and will be removed from Suricata 8; see "
+                             "issue 6688");
             } else if (strcasecmp(s_mode, "multi") == 0) {
                 pl->mode = LOGMODE_MULTI;
             } else if (strcasecmp(s_mode, "normal") != 0) {