aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/ndpi_typestruct.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/ndpi_typestruct.py b/python/ndpi_typestruct.py
index 942db32d5..e78e9dd3d 100644
--- a/python/ndpi_typestruct.py
+++ b/python/ndpi_typestruct.py
@@ -21,7 +21,8 @@
import os
from ctypes import *
-ndpi = CDLL('./ndpi_wrap.so')
+ndpi = CDLL(os.path.abspath("libndpi.so.2.9.0"))
+ndpi = CDLL(os.path.abspath("ndpi_wrap.so"))
# NDPI_SELECTION_BITMASK_PROTOCOL_SIZE = c_uint32
# ndpi_protocol_category_t, ndpi_protocol_breed_t e ndpi_log_level_t sono enumeratori e vengono impostati come c_int