From 6c85f10cd5a29346522ad647a38066f0cc44e5a7 Mon Sep 17 00:00:00 2001 From: Nardi Ivan Date: Wed, 10 Jan 2024 11:19:44 +0100 Subject: config: move debug/log configuration to the new API --- fuzz/fuzz_readerutils_workflow.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'fuzz/fuzz_readerutils_workflow.cpp') diff --git a/fuzz/fuzz_readerutils_workflow.cpp b/fuzz/fuzz_readerutils_workflow.cpp index e836cfdbf..ed5238f75 100644 --- a/fuzz/fuzz_readerutils_workflow.cpp +++ b/fuzz/fuzz_readerutils_workflow.cpp @@ -8,8 +8,6 @@ extern u_int8_t enable_doh_dot_detection; -char *_debug_protocols; -int nDPI_LogLevel = 0; u_int32_t current_ndpi_memory = 0, max_ndpi_memory = 0; u_int8_t enable_protocol_guess = 1, enable_payload_analyzer = 0; u_int8_t enable_flow_stats = 0; @@ -34,6 +32,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { char errbuf[PCAP_ERRBUF_SIZE]; FILE *fd; u_int8_t debug_protos_index; + char *_debug_protocols; const char *strs[] = { "all", "dns,quic", "+dns:-quic", -- cgit v1.2.3