diff options
author | Luca Deri <deri@ntop.org> | 2025-06-17 23:57:15 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2025-06-17 23:57:15 +0200 |
commit | 3a243bb40d54529002f834e3ef770c0408b7b0d4 (patch) | |
tree | d3e1c97fa64780d47be90950f87da978a1fd7180 /example/ndpiReader.c | |
parent | 9a71f141b4a4ea863f9347792f449bf50d368d2b (diff) |
Merged protocols (now free to use) into existing categories
- AdultContent -> Category Adult Content
- LLM -> Category Artificial Intelligence
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index ddabfe560..56eb9c7d7 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -3056,6 +3056,9 @@ static void setupDetection(u_int16_t thread_id, pcap_t * pcap_handle, } } + if(ndpi_thread_info[thread_id].workflow == NULL) + exit(-1); /* Some initialiation functions failed */ + ndpi_thread_info[thread_id].workflow->g_ctx = g_ctx; ndpi_workflow_set_flow_callback(ndpi_thread_info[thread_id].workflow, |