aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2024-08-05 10:32:41 +0200
committerIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-09-03 12:39:07 +0200
commit91531ed040933ea96eaa4c3f3cd9d11159acf586 (patch)
tree43777417c656e2a1f11f32e24ee1ec5660d8c52b /src
parent338eedd05b034991f1960898ca7680e65d7901f6 (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/lib/protocols/bittorrent.c1
1 files changed, 0 insertions, 1 deletions
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 */