From 7fde1db6a4b00696c433de8498e88e3928d6d757 Mon Sep 17 00:00:00 2001 From: lns Date: Sun, 24 Sep 2023 22:50:22 +0200 Subject: Added printf/fprintf replacement for some internal modules. * logging is instead redirected to `ndpi_debug_printf` Signed-off-by: lns --- src/lib/ndpi_utils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/lib/ndpi_utils.c') 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 -- cgit v1.2.3