diff options
author | Luca <deri@ntop.org> | 2022-05-30 17:54:09 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2022-05-30 17:54:30 +0200 |
commit | 34ede63c1590684919ec101efd4116b46edefac3 (patch) | |
tree | a2676c548f85773edd7dec279abf3a2a719767bb /example/reader_util.c | |
parent | 48065d80e989bdf708f7b87283e0625b490f1f19 (diff) |
Added ability to return risk info in JSON format in ndpi_get_flow_risk_info()
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/reader_util.c b/example/reader_util.c index 9f908efb4..c3c18764d 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1044,7 +1044,7 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl flow->info_type = INFO_INVALID; - s = ndpi_get_flow_risk_info(flow->ndpi_flow, out, sizeof(out)); + s = ndpi_get_flow_risk_info(flow->ndpi_flow, out, sizeof(out), 0 /* text */); if(s != NULL) flow->risk_str = ndpi_strdup(s); |