mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-29 07:29:39 +00:00
Unify ndpi debug logging to always use a u16 protocol id (#2613)
* fixes SonarCloud complaint Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
parent
35ef56cc24
commit
ccbbcdf283
7 changed files with 6 additions and 46 deletions
|
|
@ -3,7 +3,7 @@
|
|||
#include "fuzz_common_code.h"
|
||||
|
||||
#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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue