aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-11-21 13:35:04 +0100
committerLuca Deri <deri@ntop.org>2019-11-21 13:35:04 +0100
commite98b994a39ee829058265353473d773642c889cf (patch)
tree5f1a0eaf942ae73020fa4f4d7f480c01bbcc8e5e /example/reader_util.c
parenta58c838c4c579ee298ec617bb9322876d6a6dac5 (diff)
Updated results
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index 2b9c6cdf4..d91c0ed5f 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -1082,7 +1082,7 @@ static struct ndpi_proto packet_processing(struct ndpi_workflow * workflow,
u_int8_t proto;
struct ndpi_tcphdr *tcph = NULL;
struct ndpi_udphdr *udph = NULL;
- u_int16_t sport, dport, payload_len;
+ u_int16_t sport, dport, payload_len = 0;
u_int8_t *payload;
u_int8_t src_to_dst_direction = 1;
u_int8_t begin_or_end_tcp = 0;