mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-11-29 11:11:52 +00:00
python: fix compilation
This commit is contained in:
parent
3eb6e65fbc
commit
62c77e4923
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class NDPI(object):
|
|||
"_detection_module")
|
||||
|
||||
def __init__(self):
|
||||
self._detection_module = lib.ndpi_init_detection_module(ffi.NULL, lib.NDPI_LICENSE_NON_COMMERCIAL_LGPL)
|
||||
self._detection_module = lib.ndpi_init_detection_module(ffi.NULL, lib.NDPI_LICENSE_NOT_FOR_PROFIT_LGPL)
|
||||
if self._detection_module == ffi.NULL:
|
||||
raise MemoryError("Unable to instantiate NDPI object")
|
||||
lib.ndpi_py_setup_detection_module(self._detection_module)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue