From 0de3d4c37a06b800b740166b83a8ed108fbf76a4 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Tue, 9 Feb 2021 21:48:46 +0100 Subject: Dissection inprovements --- src/lib/protocols/ftp_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/protocols/ftp_control.c') diff --git a/src/lib/protocols/ftp_control.c b/src/lib/protocols/ftp_control.c index 15a917365..fa39962fa 100644 --- a/src/lib/protocols/ftp_control.c +++ b/src/lib/protocols/ftp_control.c @@ -591,7 +591,7 @@ static void ndpi_check_ftp_control(struct ndpi_detection_module_struct *ndpi_str } /* Break after 20 packets. */ - if(flow->packet_counter > 20) { + if(flow->packet_counter > 8) { NDPI_EXCLUDE_PROTO(ndpi_struct, flow); return; } -- cgit v1.2.3