diff options
author | Luca Deri <deri@ntop.org> | 2021-11-17 22:41:35 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-11-17 22:41:35 +0100 |
commit | 2e2d4c911a8ffce297a927addfe795a3b6b3d3fb (patch) | |
tree | a0260ec62e6b48bc9a157d62e9d7b0051b0a75fc /src/lib/ndpi_main.c | |
parent | 2a6e5c634136e74651c0c39c9ea1987d4949cc69 (diff) |
BitTorrent detection improvements
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r-- | src/lib/ndpi_main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index 4fd952f77..993aac969 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -7252,6 +7252,11 @@ u_int8_t ndpi_extra_dissection_possible(struct ndpi_detection_module_struct *ndp if(flow->extra_packets_func) return(1); break; + + case NDPI_PROTOCOL_BITTORRENT: + if(flow->protos.bittorrent.hash[0] == '\0') + return(1); + break; } return(0); |