diff options
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); |