aboutsummaryrefslogtreecommitdiff
path: root/python/ndpi_typestruct.py
diff options
context:
space:
mode:
authorLuca Deri <lucaderi@users.noreply.github.com>2019-09-23 17:48:02 +0200
committerGitHub <noreply@github.com>2019-09-23 17:48:02 +0200
commit3f56b2476a5ae940eff088c555637eff015b4ec5 (patch)
tree579bb8517ef966a5891517969460f0e58e5c1bdb /python/ndpi_typestruct.py
parent64513b1c0e028f48d1f76503bffbd59f96ff1bdf (diff)
parent82464670227f83e971a2ed89295a21c38f824806 (diff)
Merge pull request #780 from bohmax/fix_wrap
Fix wrap
Diffstat (limited to 'python/ndpi_typestruct.py')
-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