aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/README2
-rwxr-xr-xpython/ndpi_example.py2
-rw-r--r--python/ndpi_typestruct.py (renamed from python/ndpi_bindings.py)2
3 files changed, 3 insertions, 3 deletions
diff --git a/python/README b/python/README
index e9820e528..f55139d0c 100644
--- a/python/README
+++ b/python/README
@@ -1,4 +1,4 @@
-This directory contains the Python bindings for nDPI
+This directory contains the Python3 bindings for nDPI
Demo example:
- python3 ndpi_example.py <interface>
diff --git a/python/ndpi_example.py b/python/ndpi_example.py
index ff11e6d37..d134d3947 100755
--- a/python/ndpi_example.py
+++ b/python/ndpi_example.py
@@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License along with nDP
If not, see <http://www.gnu.org/licenses/>.
"""
-from ndpi_bindings import *
+from ndpi_typestruct import *
from ctypes import *
from scapy.all import *
import sys
diff --git a/python/ndpi_bindings.py b/python/ndpi_typestruct.py
index d6d914d30..889257dea 100644
--- a/python/ndpi_bindings.py
+++ b/python/ndpi_typestruct.py
@@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
"""
-file: ndpi_bindings.py
+file: ndpi_typestruct.py
This file is part of nDPI.
Copyright (C) 2011-19 - ntop.org