From 82a186e096edab6443bddfc1a786962f96653f0f Mon Sep 17 00:00:00 2001 From: aouinizied Date: Fri, 15 Nov 2019 19:30:50 +0100 Subject: [PATCH] Polish. --- python/README | 2 +- python/ndpi_example.py | 2 +- python/{ndpi_bindings.py => ndpi_typestruct.py} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename python/{ndpi_bindings.py => ndpi_typestruct.py} (99%) 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 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 . """ -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 similarity index 99% rename from python/ndpi_bindings.py rename to 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