summaryrefslogtreecommitdiff
path: root/net-mgmt/fastnetmon/files/patch-src_fast__dpi.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/fastnetmon/files/patch-src_fast__dpi.cpp')
-rw-r--r--net-mgmt/fastnetmon/files/patch-src_fast__dpi.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-mgmt/fastnetmon/files/patch-src_fast__dpi.cpp b/net-mgmt/fastnetmon/files/patch-src_fast__dpi.cpp
new file mode 100644
index 000000000000..e5e4f7cc1fb8
--- /dev/null
+++ b/net-mgmt/fastnetmon/files/patch-src_fast__dpi.cpp
@@ -0,0 +1,11 @@
+--- src/fast_dpi.cpp.orig 2016-06-22 05:22:26 UTC
++++ src/fast_dpi.cpp
+@@ -35,7 +35,7 @@ struct ndpi_detection_module_struct* ini
+ u_int32_t detection_tick_resolution = 1000;
+
+ struct ndpi_detection_module_struct* my_ndpi_struct =
+- ndpi_init_detection_module(detection_tick_resolution, malloc, free, debug_printf);
++ ndpi_init_detection_module();
+
+ if (my_ndpi_struct == NULL) {
+ // printf("Can't init nDPI");