Added ability to return risk info in JSON format in ndpi_get_flow_risk_info()

This commit is contained in:
Luca
2022-05-30 17:54:30 +02:00
parent 48065d80e9
commit 34ede63c15
6 changed files with 61 additions and 27 deletions
+2 -2
View File
@@ -209,8 +209,8 @@ static int ndpi_init_serializer_buffer(ndpi_private_serializer_buffer *buffer, u
/* ********************************** */
int ndpi_init_serializer_ll(ndpi_serializer *_serializer,
ndpi_serialization_format fmt,
u_int32_t buffer_size) {
ndpi_serialization_format fmt,
u_int32_t buffer_size) {
ndpi_private_serializer *serializer = (ndpi_private_serializer*)_serializer;
memset(serializer, 0, sizeof(ndpi_private_serializer));