Enhanced fragments support in ndpiReader

Improved RX protocol dissection and removed port guess as it caused false positives.
This commit is contained in:
Luca Deri
2016-05-31 12:20:25 +02:00
parent a79b338208
commit 72efa329db
4 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -736,7 +736,7 @@ void ndpi_workflow_process_packet (struct ndpi_workflow * workflow,
goto iph_check;
}
if((frag_off & 0x3FFF) != 0) {
if((frag_off & 0x1FFF) != 0) {
static u_int8_t ipv4_frags_warning_used = 0;
workflow->stats.fragmented_count++;