diff options
author | Nardi Ivan <nardi.ivan@gmail.com> | 2024-01-10 11:19:44 +0100 |
---|---|---|
committer | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-01-18 10:21:24 +0100 |
commit | 6c85f10cd5a29346522ad647a38066f0cc44e5a7 (patch) | |
tree | 062db3a48785916f4532ca712ad0ea41698f952c /fuzz/fuzz_readerutils_workflow.cpp | |
parent | c704be1a20d169bea1c55a720421742f09f4aa88 (diff) |
config: move debug/log configuration to the new API
Diffstat (limited to 'fuzz/fuzz_readerutils_workflow.cpp')
-rw-r--r-- | fuzz/fuzz_readerutils_workflow.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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", |