diff options
author | Luca Deri <deri@ntop.org> | 2018-07-16 09:21:34 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2018-07-16 09:21:34 +0200 |
commit | 90ffa1fc2ca87b166e9447643deffb8220ae44ec (patch) | |
tree | 2b1a8dabf34a6d131cf7ab982e0507eaf5eab545 /example/ndpiReader.c | |
parent | f942cef2f1de9deba5314a5bda0c46a9559cce66 (diff) |
Updated twitter invalid address range
Using content substring match in category search
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 9b10fe6c5..39748cd90 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -1465,7 +1465,7 @@ static void setupDetection(u_int16_t thread_id, pcap_t * pcap_handle) { ndpi_set_detection_preferences(ndpi_thread_info[thread_id].workflow->ndpi_struct, ndpi_pref_dns_dissect_response, 0); ndpi_set_detection_preferences(ndpi_thread_info[thread_id].workflow->ndpi_struct, - ndpi_pref_enable_category_substring_match, 0); + ndpi_pref_enable_category_substring_match, 1); ndpi_workflow_set_flow_detected_callback(ndpi_thread_info[thread_id].workflow, on_protocol_discovered, (void *)(uintptr_t)thread_id); |