From 690bd14371879a0d6f2ae5297579561287d54aa3 Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Tue, 28 Apr 2020 08:50:29 -0400 Subject: [PATCH] napatech: Fix parameters passed to thread-check This commit corrects an error introduced earlier: the call to `TmThreadsCaptureHandleTimeout` is passing too many parameters. --- src/source-napatech.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source-napatech.c b/src/source-napatech.c index 84fd2788ed..a574f24177 100644 --- a/src/source-napatech.c +++ b/src/source-napatech.c @@ -886,7 +886,7 @@ TmEcode NapatechPacketLoop(ThreadVars *tv, void *data, void *slot) if (unlikely( status == NT_STATUS_TIMEOUT || status == NT_STATUS_TRYAGAIN)) { if (status == NT_STATUS_TIMEOUT) { - TmThreadsCaptureHandleTimeout(tv, ntv->slot, NULL); + TmThreadsCaptureHandleTimeout(tv, NULL); } continue; } else if (unlikely(status != NT_SUCCESS)) { -- 2.47.2