From d7e33a51bc1f928c5dd7ae872a3f87629512bc96 Mon Sep 17 00:00:00 2001 From: Jason Ish Date: Tue, 27 Aug 2024 20:58:09 -0600 Subject: [PATCH] arp: profiling logger id must come before LOGGER_SIZE Also added comment to make this more clear. --- src/suricata-common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/suricata-common.h b/src/suricata-common.h index 2091250e49..3a6c281cab 100644 --- a/src/suricata-common.h +++ b/src/suricata-common.h @@ -491,8 +491,10 @@ typedef enum { LOGGER_JSON_METADATA, LOGGER_JSON_FRAME, LOGGER_JSON_STREAM, - LOGGER_SIZE, LOGGER_JSON_ARP, + + /* Must come last. */ + LOGGER_SIZE, } LoggerId; /* If we don't have Lua, create a typedef for lua_State so the -- 2.47.2