aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2019-11-07 19:28:16 +0000
committerLuca <deri@ntop.org>2019-11-07 19:28:16 +0000
commit0558d641f2230795ef856e5e1e5c77050becb932 (patch)
tree83be952091b9c14d73177ce43c7ee9fdd2bc8e27 /example/ndpiReader.c
parentac46a4dd58357b62d9b93253e47ade111efae649 (diff)
Added ndpi_finalize_initalization() initialization function
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index d52e4a3a9..3d9deea86 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -1911,6 +1911,8 @@ static void setupDetection(u_int16_t thread_id, pcap_t * pcap_handle) {
if(_customCategoryFilePath)
ndpi_load_categories_file(ndpi_thread_info[thread_id].workflow->ndpi_struct, _customCategoryFilePath);
+
+ ndpi_finalize_initalization(ndpi_thread_info[thread_id].workflow->ndpi_struct);
}
/* *********************************************** */