aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2019-02-07 22:44:48 +0100
committerLuca Deri <deri@ntop.org>2019-02-07 22:44:48 +0100
commitddf0066c11c0df4e3bc9744df11f08dce676f36e (patch)
treec90d95acd4f65798675279782e92b26886e2dad7 /example
parent2ec41c17320622fe83dbba97ae8a2f4b40a30f34 (diff)
Aligned DNS to HTTP dissection
Diffstat (limited to 'example')
-rw-r--r--example/ndpiReader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index 9cb4ad6f6..fe0ea879b 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -1459,7 +1459,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_http_dont_dissect_response, 0);
ndpi_set_detection_preferences(ndpi_thread_info[thread_id].workflow->ndpi_struct,
- ndpi_pref_dns_dissect_response, 0);
+ ndpi_pref_dns_dont_dissect_response, 0);
ndpi_set_detection_preferences(ndpi_thread_info[thread_id].workflow->ndpi_struct,
ndpi_pref_enable_category_substring_match, 1);