aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2020-05-24 08:54:38 +0200
committerLuca Deri <deri@ntop.org>2020-05-24 08:54:38 +0200
commit8fa5c31996bc2f7dc5d11164bb28b47238004b30 (patch)
tree49e807217b10df554f6dd9755d7c8cbd369f649e
parentee35834be6e40ac9de03b3685052ed701847ca53 (diff)
Added ndpi_serialize_risk() to the nDPI API
-rw-r--r--src/lib/ndpi_utils.c4
1 files changed, 2 insertions, 2 deletions
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;