From 62c77e49232beb552118978453317f3bfaceed5e Mon Sep 17 00:00:00 2001 From: Ivan Nardi Date: Tue, 25 Aug 2026 18:10:46 +0200 Subject: [PATCH] python: fix compilation --- python/ndpi/ndpi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ndpi/ndpi.py b/python/ndpi/ndpi.py index f28ec6cbf..b72f74a9d 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(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)