From 0712d496fe63fd16f8e943a438c57f75d8cae880 Mon Sep 17 00:00:00 2001 From: Nardi Ivan Date: Wed, 10 Jan 2024 11:46:57 +0100 Subject: config: allow configuration of guessing algorithms --- python/ndpi/ndpi.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'python/ndpi/ndpi.py') diff --git a/python/ndpi/ndpi.py b/python/ndpi/ndpi.py index 743b7a805..32d6ea595 100644 --- a/python/ndpi/ndpi.py +++ b/python/ndpi/ndpi.py @@ -57,10 +57,9 @@ class NDPI(object): app_protocol=p.app_protocol, category=p.category) - def giveup(self, flow, enable_guess=True): + def giveup(self, flow): p = lib.ndpi_detection_giveup(self._detection_module, flow.C, - enable_guess, ffi.new("uint8_t*", 0)) return ndpi_protocol(C=p, master_protocol=p.master_protocol, -- cgit v1.2.3