aboutsummaryrefslogtreecommitdiff
path: root/python/ndpi_example.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/ndpi_example.py')
-rwxr-xr-xpython/ndpi_example.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/ndpi_example.py b/python/ndpi_example.py
index d134d3947..7b932941d 100755
--- a/python/ndpi_example.py
+++ b/python/ndpi_example.py
@@ -100,6 +100,8 @@ lista = [] # used to avoid impropriate memory deallocation from python
# check ndpi version
if ndpi.ndpi_get_api_version() != ndpi.ndpi_wrap_get_api_version():
print("nDPI Library version mismatch: please make sure this code and the nDPI library are in sync\n")
+ print("libnDPI api version..: " + str(ndpi.ndpi_get_api_version()))
+ print("NDPI_WRAP api version: " + str(ndpi.ndpi_wrap_get_api_version()))
sys.exit(-1)
# create data structure of ndpi