config: remove enum ndpi_prefs
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user