aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_replace_printf.h
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 /src/include/ndpi_replace_printf.h
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 'src/include/ndpi_replace_printf.h')
-rw-r--r--src/include/ndpi_replace_printf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ndpi_replace_printf.h b/src/include/ndpi_replace_printf.h
index 73313386c..2dea4288c 100644
--- a/src/include/ndpi_replace_printf.h
+++ b/src/include/ndpi_replace_printf.h
@@ -50,7 +50,7 @@
#endif
-void ndpi_debug_printf(unsigned int proto, struct ndpi_detection_module_struct *ndpi_str, ndpi_log_level_t log_level,
+void ndpi_debug_printf(u_int16_t proto, struct ndpi_detection_module_struct *ndpi_str, ndpi_log_level_t log_level,
const char *file_name, const char *func_name, int line_number, const char *format, ...);
#endif