From 0558d641f2230795ef856e5e1e5c77050becb932 Mon Sep 17 00:00:00 2001 From: Luca Date: Thu, 7 Nov 2019 19:28:16 +0000 Subject: Added ndpi_finalize_initalization() initialization function --- example/ndpiReader.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'example/ndpiReader.c') 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); } /* *********************************************** */ -- cgit v1.2.3