diff options
author | Campus <campus@ntop.org> | 2017-05-11 15:59:17 +0200 |
---|---|---|
committer | Campus <campus@ntop.org> | 2017-05-11 15:59:17 +0200 |
commit | 5271233774bc98e5705ce7de777d4f32713ff19e (patch) | |
tree | 8c21f8f7a93b9865d404bda6fe877a6dbc153804 /example/ndpi_util.c | |
parent | cd26942edf5686455f051205e5c3454588d7409a (diff) | |
parent | 5da83360aa825dc0963623a7ad3b09b2139bf3f2 (diff) |
Merge branch 'alexei-argus-example_caplen_fix' into dev
Diffstat (limited to 'example/ndpi_util.c')
-rw-r--r-- | example/ndpi_util.c | 2 |
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)); } /* ********************************************************** */ |