From: Victor Julien Date: Thu, 1 Apr 2021 12:27:30 +0000 (+0200) Subject: output/tx: add warning to avoid future bugs X-Git-Tag: suricata-7.0.0-beta1~1704 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1fee90392b315f95aa83d12f31ad344aa5bdd5d;p=thirdparty%2Fsuricata.git output/tx: add warning to avoid future bugs --- diff --git a/src/suricata-common.h b/src/suricata-common.h index 56baedac56..6dbcb3d0f5 100644 --- a/src/suricata-common.h +++ b/src/suricata-common.h @@ -467,6 +467,11 @@ typedef enum { LOGGER_JSON_DCERPC, LOGGER_JSON_HTTP2, + /** \warning when we exceed what we can express as a u32 flag here we need to update + * LoggerFlags::flags (u32) and `tx_logged` in src/output-tx.c */ + + /* non-tx loggers below */ + LOGGER_ALERT_DEBUG, LOGGER_ALERT_FAST, LOGGER_UNIFIED2,