From 051e8df7a77bb5b0d62940190e31e906b7c39bfa Mon Sep 17 00:00:00 2001 From: Toni Uhlig Date: Wed, 6 Nov 2024 17:40:45 +0100 Subject: Unify ndpi debug logging to always use a u16 protocol id * fixes SonarCloud complaint Signed-off-by: Toni Uhlig --- tests/dga/dga_evaluate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/dga/dga_evaluate.c b/tests/dga/dga_evaluate.c index 7a63f2ca1..71705afe4 100644 --- a/tests/dga/dga_evaluate.c +++ b/tests/dga/dga_evaluate.c @@ -40,7 +40,7 @@ void help() { static int verbose_dga_detection = 0; -static void ndpi_dbg_fn(u_int32_t protocol, +static void ndpi_dbg_fn(u_int16_t protocol, struct ndpi_detection_module_struct *module_struct, ndpi_log_level_t log_level, const char *file, const char *func, unsigned line, -- cgit v1.2.3