aboutsummaryrefslogtreecommitdiff
path: root/python/ndpi/ndpi.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/ndpi/ndpi.py')
-rw-r--r--python/ndpi/ndpi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/ndpi/ndpi.py b/python/ndpi/ndpi.py
index 32d6ea595..3745af94d 100644
--- a/python/ndpi/ndpi.py
+++ b/python/ndpi/ndpi.py
@@ -32,7 +32,7 @@ class NDPI(object):
"_detection_module")
def __init__(self):
- self._detection_module = lib.ndpi_init_detection_module()
+ self._detection_module = lib.ndpi_init_detection_module(ffi.NULL)
if self._detection_module == ffi.NULL:
raise MemoryError("Unable to instantiate NDPI object")
lib.ndpi_py_setup_detection_module(self._detection_module)