aboutsummaryrefslogtreecommitdiff
path: root/src/lib/ndpi_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ndpi_main.c')
-rw-r--r--src/lib/ndpi_main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 5f6ff9aa5..9337d003f 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -6383,8 +6383,10 @@ ndpi_protocol ndpi_detection_process_packet(struct ndpi_detection_module_struct
flow->tree_risk_checked = 1;
}
- /* It is common to not trigger any dissectors for pure TCP ACK packets */
- if(num_calls == 0 && packet->payload_packet_len != 0)
+ /* It is common to don't trigger any dissectors for pure TCP ACKs
+ and for for retransmissions */
+ if(num_calls == 0 &&
+ (packet->tcp_retransmission == 0 && packet->payload_packet_len != 0))
flow->fail_with_unknown = 1;
flow->num_dissector_calls += num_calls;