From: Jeff Lucovsky Date: Tue, 28 Apr 2020 12:50:29 +0000 (-0400) Subject: napatech: Fix parameters passed to thread-check X-Git-Tag: suricata-6.0.0-beta1~429 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F4899%2Fhead;p=thirdparty%2Fsuricata.git napatech: Fix parameters passed to thread-check This commit corrects an error introduced earlier: the call to `TmThreadsCaptureHandleTimeout` is passing too many parameters. --- 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)) {