summarylogtreecommitdiffstats
path: root/init-detection.patch
blob: b0c1030f72b164e1f9f034509040dfceaa3dc382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
diff -Naur a/dissectors/tcp_ca/tcp_analysis.c b/dissectors/tcp_ca/tcp_analysis.c
--- a/dissectors/tcp_ca/tcp_analysis.c	2021-02-07 12:27:44.022318127 +0100
+++ b/dissectors/tcp_ca/tcp_analysis.c	2021-02-07 12:29:16.635347841 +0100
@@ -1081,7 +1081,7 @@
     mkdir(tmp_dir, 0x01FF);
 
     /* ndpi */
-    ndpi = ndpi_init_detection_module();
+    ndpi = ndpi_init_detection_module(ndpi_no_prefs);
     if (ndpi == NULL) {
         LogPrintf(LV_ERROR, "nDPi initializzation failed");
 
diff -Naur a/dissectors/tcp_grbg/tcp_garbage.c b/dissectors/tcp_grbg/tcp_garbage.c
--- a/dissectors/tcp_grbg/tcp_garbage.c	2021-02-07 12:27:44.022318127 +0100
+++ b/dissectors/tcp_grbg/tcp_garbage.c	2021-02-07 12:29:02.512055779 +0100
@@ -1250,7 +1250,7 @@
 
     /* ndpi */
     pthread_mutex_init(&ndpi_mux, NULL);
-    ndpi = ndpi_init_detection_module();
+    ndpi = ndpi_init_detection_module(ndpi_no_prefs);
     if (ndpi == NULL) {
         LogPrintf(LV_ERROR, "nDPi initializzation failed");
 
diff -Naur a/dissectors/udp_ca/udp_analysis.c b/dissectors/udp_ca/udp_analysis.c
--- a/dissectors/udp_ca/udp_analysis.c	2021-02-07 12:27:44.022318127 +0100
+++ b/dissectors/udp_ca/udp_analysis.c	2021-02-07 12:28:36.928801651 +0100
@@ -631,7 +631,7 @@
 
     /* ndpi */
     pthread_mutex_init(&ndpi_mux, NULL);
-    ndpi = ndpi_init_detection_module();
+    ndpi = ndpi_init_detection_module(ndpi_no_prefs);
     if (ndpi == NULL) {
         LogPrintf(LV_ERROR, "nDPi initializzation failed");
 
diff -Naur a/dissectors/udp_grbg/udp_garbage.c b/dissectors/udp_grbg/udp_garbage.c
--- a/dissectors/udp_grbg/udp_garbage.c	2021-02-07 12:27:44.022318127 +0100
+++ b/dissectors/udp_grbg/udp_garbage.c	2021-02-07 12:29:42.058611090 +0100
@@ -569,7 +569,7 @@
 
     /* ndpi */
     pthread_mutex_init(&ndpi_mux, NULL);
-    ndpi = ndpi_init_detection_module();
+    ndpi = ndpi_init_detection_module(ndpi_no_prefs);
     if (ndpi == NULL) {
         LogPrintf(LV_ERROR, "nDPi initializzation failed");