aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 9861f6505..b1fbfd7dd 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -4597,7 +4597,7 @@ static void ndpi_process_packet(u_char *args,
/* The remaining bytes are already set to 0 */
crc = (uint32_t*)&extcap_buf[h.caplen+sizeof(struct ndpi_packet_trailer)];
- *crc = ndpi_crc32((const void*)extcap_buf, h.caplen+sizeof(struct ndpi_packet_trailer));
+ *crc = ndpi_crc32((const void*)extcap_buf, h.caplen+sizeof(struct ndpi_packet_trailer), 0);
h.caplen += delta, h.len += delta;
#ifdef DEBUG_TRACE