From 91531ed040933ea96eaa4c3f3cd9d11159acf586 Mon Sep 17 00:00:00 2001 From: Nardi Ivan Date: Mon, 5 Aug 2024 10:32:41 +0200 Subject: Bittorrent: fix extra dissection On extra-dissection data-path we only need to look for the hash (the flow is already classified as Bittorrent). As a nice side-effect, the confidence is now always with the right value. --- src/lib/protocols/bittorrent.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src') diff --git a/src/lib/protocols/bittorrent.c b/src/lib/protocols/bittorrent.c index 1522a14e9..c0f5955c9 100644 --- a/src/lib/protocols/bittorrent.c +++ b/src/lib/protocols/bittorrent.c @@ -60,7 +60,6 @@ static void ndpi_search_bittorrent_hash(struct ndpi_detection_module_struct *ndp static int search_bittorrent_again(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow) { - ndpi_search_bittorrent(ndpi_struct, flow); ndpi_search_bittorrent_hash(ndpi_struct, flow, -1); /* Possibly more processing */ -- cgit v1.2.3