mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-04-30 07:59:49 +00:00
Provide a u64 wrapper for ndpi_set_config() (#2292)
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
parent
d2f22d1308
commit
44c2e59661
4 changed files with 20 additions and 3 deletions
|
|
@ -14,8 +14,8 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
|
|||
NDPI_BITMASK_SET_ALL(all);
|
||||
ndpi_set_protocol_detection_bitmask2(ndpi_struct, &all);
|
||||
|
||||
ndpi_set_config(ndpi_struct, NULL, "log.level", "3");
|
||||
ndpi_set_config(ndpi_struct, "all", "log", "1");
|
||||
ndpi_set_config_u64(ndpi_struct, NULL, "log.level", 3);
|
||||
ndpi_set_config_u64(ndpi_struct, "all", "log", 1);
|
||||
|
||||
fd = buffer_to_file(data, size);
|
||||
load_categories_file_fd(ndpi_struct, fd, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue