aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f756fbaf5..b07a41e03 100644
--- a/example/ndpi_util.c
+++ b/example/ndpi_util.c
@@ -908,7 +908,7 @@ struct ndpi_proto ndpi_workflow_process_packet (struct ndpi_workflow * workflow,
/* process the packet */
return(packet_processing(workflow, time, vlan_id, iph, iph6,
- ip_offset, header->len - ip_offset, header->len));
+ ip_offset, header->caplen - ip_offset, header->caplen));
}
/* ********************************************************** */