aboutsummaryrefslogtreecommitdiff
path: root/example/ndpi_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2016-05-31 12:20:25 +0200
committerLuca Deri <deri@ntop.org>2016-05-31 12:20:25 +0200
commit72efa329db996a45f394457238b218252bae3e00 (patch)
tree16f423dc903291adac3071417ba9cbec64228e68 /example/ndpi_util.c
parenta79b338208566c48d74a453710fef02611f13b8f (diff)
Enhanced fragments support in ndpiReader
Improved RX protocol dissection and removed port guess as it caused false positives.
Diffstat (limited to 'example/ndpi_util.c')
-rw-r--r--example/ndpi_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpi_util.c b/example/ndpi_util.c
index 939b3efd0..57a6505e9 100644
--- a/example/ndpi_util.c
+++ b/example/ndpi_util.c
@@ -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++;