fix initialization of struct ndpi_flow_info *flow
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user