nDPI
nDPI copied to clipboard
DEBUG_TRACE Build fails due to domainSearchUnitTest()
Describe the bug
Looks like this change of adding ndpi_str to the function call ndpi_domain_classify_size is breaking while we are tyring to execute in the DEBUG_TRACE mode and also the function defination of ndpi_domain_classify_size ndpi_api.h is not having a signature to accept 2 arguments. the fname is also not found and causing issues while compiling in DEBUG_TRACE mode.
Expected behavior
Code should be getting compiled in DEBUG_TRACE Mode
Obtained behavior
Compilation fails with errors.
nDPI Environment (please complete the following information):
- OS name: Debian.
- OS version: 11
- Architecture: arm64
- nDPI version or commit hash: dev/ad117bf.
- nDPI compilation flags used: if you are building from source -DDEBUG_TRACE.
How to reproduce the reported bug
Compile with the flag -DDEBUG_TRACE
Reproducible using ndpiReader?
-The reported bug is reproducible using ndpiReader.