aboutsummaryrefslogtreecommitdiff
path: root/tests/dga/dga_evaluate.c
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2024-11-06 17:40:45 +0100
committerToni Uhlig <matzeton@googlemail.com>2024-11-07 17:40:45 +0100
commit051e8df7a77bb5b0d62940190e31e906b7c39bfa (patch)
treee7c92dfc7b58636ad0f2c658d1ae6424804da55c /tests/dga/dga_evaluate.c
parent3b1286ab03b0c9223ac208a01868d8c1f6c0ae00 (diff)
Unify ndpi debug logging to always use a u16 protocol idimprove/proto-debug-printf
* fixes SonarCloud complaint Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'tests/dga/dga_evaluate.c')
-rw-r--r--tests/dga/dga_evaluate.c2
1 files changed, 1 insertions, 1 deletions
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,