fix initialization of struct ndpi_flow_info *flow

This commit is contained in:
Campus
2016-11-22 23:11:24 +01:00
parent d9a2d9a6bd
commit 797eb2c3ca
+1 -1
View File
@@ -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;