diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2024-11-06 17:40:45 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2024-11-07 17:40:45 +0100 |
commit | 051e8df7a77bb5b0d62940190e31e906b7c39bfa (patch) | |
tree | e7c92dfc7b58636ad0f2c658d1ae6424804da55c /fuzz/fuzz_ds_domain_classify.cpp | |
parent | 3b1286ab03b0c9223ac208a01868d8c1f6c0ae00 (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 'fuzz/fuzz_ds_domain_classify.cpp')
-rw-r--r-- | fuzz/fuzz_ds_domain_classify.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/fuzz_ds_domain_classify.cpp b/fuzz/fuzz_ds_domain_classify.cpp index ccb106a6f..0938faec7 100644 --- a/fuzz/fuzz_ds_domain_classify.cpp +++ b/fuzz/fuzz_ds_domain_classify.cpp @@ -12,7 +12,7 @@ static struct ndpi_detection_module_struct *ndpi_struct = NULL; extern "C" { #ifdef NDPI_ENABLE_DEBUG_MESSAGES -void ndpi_debug_printf(unsigned int proto, struct ndpi_detection_module_struct *ndpi_str, ndpi_log_level_t log_level, +void ndpi_debug_printf(uint16_t proto, struct ndpi_detection_module_struct *ndpi_str, ndpi_log_level_t log_level, const char *file_name, const char *func_name, unsigned int line_number, const char *format, ...); #endif |