aboutsummaryrefslogtreecommitdiff
path: root/python/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests.py')
-rw-r--r--python/tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tests.py b/python/tests.py
index ebb4abbb9..34e1675ad 100644
--- a/python/tests.py
+++ b/python/tests.py
@@ -13,7 +13,7 @@ If not, see <http://www.gnu.org/licenses/>.
------------------------------------------------------------------------------------------------------------------------
"""
-from ndpi import NDPI, NDPIFlow
+from ndpi import NDPI, NDPIFlow, ffi
import time
@@ -21,7 +21,7 @@ if __name__ == '__main__':
try:
nDPI = NDPI()
ndpi_flow = NDPIFlow()
- nDPI.process_packet(ndpi_flow, b'', time.time())
+ nDPI.process_packet(ndpi_flow, b'', time.time(), ffi.NULL)
nDPI.giveup(ndpi_flow)
print("nDPI Python bindings: OK")
except Exception: