From 7e6ce016004249bf048241bddb8cab5eea9c6368 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 16 Aug 2016 13:39:48 -0600 Subject: [PATCH] unified2: fix logging of tagged packets The structure for create the alert preceding each tagged packet was not being initialized, preventing tagged packets from being logged. Note: Snort unified2 does not precede tagged packets with an alert like is done here, so this just fixes what the code intended to do, it does not make it Snort unified2 compatible. Address issue: https://redmine.openinfosecfoundation.org/issues/1854 --- src/suricata.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/suricata.c b/src/suricata.c index 7db868e42b..99611cb4de 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -2376,6 +2376,7 @@ static int PostConfLoadedSetup(SCInstance *suri) SCProtoNameInit(); TagInitCtx(); + PacketAlertTagInit(); ThresholdInit(); HostBitInitCtx(); IPPairBitInitCtx(); -- 2.47.2