From 8fa5c31996bc2f7dc5d11164bb28b47238004b30 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sun, 24 May 2020 08:54:38 +0200 Subject: Added ndpi_serialize_risk() to the nDPI API --- src/lib/ndpi_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/ndpi_utils.c b/src/lib/ndpi_utils.c index 69ef5990c..187ba7d1c 100644 --- a/src/lib/ndpi_utils.c +++ b/src/lib/ndpi_utils.c @@ -903,8 +903,8 @@ char* ndpi_base64_encode(unsigned char const* bytes_to_encode, size_t in_len) { /* ********************************** */ -static void ndpi_serialize_risk(ndpi_serializer *serializer, - struct ndpi_flow_struct *flow) { +void ndpi_serialize_risk(ndpi_serializer *serializer, + struct ndpi_flow_struct *flow) { if(flow->risk != 0) { u_int32_t i; -- cgit v1.2.3