diff options
author | lns <matzeton@googlemail.com> | 2023-09-24 22:50:22 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2023-09-24 22:50:22 +0200 |
commit | 7fde1db6a4b00696c433de8498e88e3928d6d757 (patch) | |
tree | 9010a0326b2f5c2edf975a3c974160c30a123231 /src/lib/protocols/http.c | |
parent | 725fcf4852f06e2f54469c2439d13169d5d68d09 (diff) |
Added printf/fprintf replacement for some internal modules.improved/logging_callback_ndpi_printf
* logging is instead redirected to `ndpi_debug_printf`
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/protocols/http.c')
-rw-r--r-- | src/lib/protocols/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index 271409057..2828202dd 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -62,7 +62,7 @@ static void ndpi_set_binary_application_transfer(struct ndpi_detection_module_st /* Check known exceptions */ - if(ndpi_ends_with((char*)flow->host_server_name, ".windowsupdate.com")) + if(ndpi_ends_with(ndpi_struct, (char*)flow->host_server_name, ".windowsupdate.com")) ; else ndpi_set_risk(ndpi_struct, flow, NDPI_BINARY_APPLICATION_TRANSFER, msg); |