ntop / nDPI

Open Source Deep Packet Inspection Software Toolkit
http://www.ntop.org
GNU Lesser General Public License v3.0
3.86k stars 902 forks source link

DEBUG_TRACE Build fails due to domainSearchUnitTest() #2413

Closed vicky16101991 closed 5 months ago

vicky16101991 commented 7 months ago

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):

How to reproduce the reported bug

Compile with the flag -DDEBUG_TRACE

Reproducible using ndpiReader?

-The reported bug is reproducible using ndpiReader.