Fixed uninitialized variable

This commit is contained in:
Luca Deri
2023-02-27 21:26:41 +01:00
parent 21c7550157
commit 127d8d0d35
+1
View File
@@ -7511,6 +7511,7 @@ void ndpi_set_detected_protocol(struct ndpi_detection_module_struct *ndpi_str, s
ndpi_protocol ret;
ndpi_int_change_protocol(ndpi_str, flow, upper_detected_protocol, lower_detected_protocol, confidence);
ret.master_protocol = flow->detected_protocol_stack[1], ret.app_protocol = flow->detected_protocol_stack[0];
ndpi_reconcile_protocols(ndpi_str, flow, &ret);
}