diff options
author | Campus <campus@ntop.org> | 2016-11-22 23:11:24 +0100 |
---|---|---|
committer | Campus <campus@ntop.org> | 2016-11-22 23:11:24 +0100 |
commit | 797eb2c3ca69654c5e1926f626882dcd9a5a1c0b (patch) | |
tree | 6bc0f8ff7fbdaba6b6ab13c6c8f5be3647f426bd | |
parent | d9a2d9a6bd4d476d666d26cb713952760a975d92 (diff) |
fix initialization of struct ndpi_flow_info *flow
-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 df47b888c..fe0a18680 100644 --- a/example/ndpi_util.c +++ b/example/ndpi_util.c @@ -446,7 +446,7 @@ static unsigned int packet_processing(struct ndpi_workflow * workflow, u_int16_t ip_offset, u_int16_t ipsize, u_int16_t rawsize) { struct ndpi_id_struct *src, *dst; - struct ndpi_flow_info *flow; + struct ndpi_flow_info *flow = NULL; struct ndpi_flow_struct *ndpi_flow = NULL; u_int8_t proto; struct ndpi_tcphdr *tcph = NULL; |