aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_utils.c
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2023-09-24 22:50:22 +0200
committerlns <matzeton@googlemail.com>2023-09-24 22:50:22 +0200
commit7fde1db6a4b00696c433de8498e88e3928d6d757 (patch)
tree9010a0326b2f5c2edf975a3c974160c30a123231 /src/lib/ndpi_utils.c
parent725fcf4852f06e2f54469c2439d13169d5d68d09 (diff)
Added printf/fprintf replacement for some internal modules.improved/logging_callback_ndpi_printf
* logging is instead redirected to `ndpi_debug_printf` Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/ndpi_utils.c')
-rw-r--r--src/lib/ndpi_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c
index 3bf819025..25d7e2cc6 100644
--- a/src/lib/ndpi_utils.c
+++ b/src/lib/ndpi_utils.c
@@ -54,6 +54,8 @@
#include "third_party/include/uthash.h"
#include "third_party/include/rce_injection.h"
+#include "ndpi_replace_printf.h"
+
#define NDPI_CONST_GENERIC_PROTOCOL_NAME "GenericProtocol"
// #define MATCH_DEBUG 1