From 55772c39fedd22dfde440d754ab7b8c12339d8a5 Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Tue, 16 Jan 2024 10:10:35 -0500 Subject: [PATCH] log/sguil: Issue deprecation notice if sguil mode Issue: 6688 --- src/log-pcap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/log-pcap.c b/src/log-pcap.c index 1e1b6da1fb..a20fc84c37 100644 --- a/src/log-pcap.c +++ b/src/log-pcap.c @@ -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) { -- 2.47.2