diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-01-20 16:14:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 16:14:41 +0100 |
commit | 42d23cff6a87825e6d3bc8e81080e6a9102f7709 (patch) | |
tree | 8987bfac24ff24de845e1a6ae369513c3567740e /fuzz/fuzz_common_code.c | |
parent | 8651ce981149a73df6f2d9d64218ef58a4479c46 (diff) |
config: follow-up (#2268)
Some changes in the parameters names.
Add a fuzzer to fuzz the configuration file format.
Add the infrastructure to configuratin callbacks.
Add an helper to map LRU cache indexes to names.
Diffstat (limited to 'fuzz/fuzz_common_code.c')
-rw-r--r-- | fuzz/fuzz_common_code.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fuzz/fuzz_common_code.c b/fuzz/fuzz_common_code.c index 7bda091d5..4dbcf3018 100644 --- a/fuzz/fuzz_common_code.c +++ b/fuzz/fuzz_common_code.c @@ -42,7 +42,7 @@ void fuzz_init_detection_module(struct ndpi_detection_module_struct **ndpi_info_ *ndpi_info_mod = ndpi_init_detection_module(); ndpi_set_config(*ndpi_info_mod, NULL, "log.level", "3"); - ndpi_set_config(*ndpi_info_mod, "all", "log.enable", "1"); + ndpi_set_config(*ndpi_info_mod, "all", "log", "enable"); ndpi_load_categories_dir(*ndpi_info_mod, "./lists/"); ndpi_load_protocols_file(*ndpi_info_mod, "protos.txt"); |