aboutsummaryrefslogtreecommitdiff
path: root/python/ndpi/ndpi.py
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2024-01-09 21:49:30 +0100
committerIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2024-01-18 10:21:24 +0100
commit88720331ae6c68e99816ae3eee5f618fdddac02f (patch)
tree4646cf5c6120e3bb29181644df6465e54750aa3c /python/ndpi/ndpi.py
parent1289951b322c66295cdb03b3c26a6cdd24cc160d (diff)
config: remove `enum ndpi_prefs`
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 2d73470ad..743b7a805 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(0)
+ self._detection_module = lib.ndpi_init_detection_module()
if self._detection_module == ffi.NULL:
raise MemoryError("Unable to instantiate NDPI object")
lib.ndpi_py_setup_detection_module(self._detection_module)