]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
napatech: Fix parameters passed to thread-check 4899/head
authorJeff Lucovsky <jeff@lucovsky.org>
Tue, 28 Apr 2020 12:50:29 +0000 (08:50 -0400)
committerVictor Julien <victor@inliniac.net>
Wed, 29 Apr 2020 19:37:53 +0000 (21:37 +0200)
This commit corrects an error introduced earlier: the call to
`TmThreadsCaptureHandleTimeout` is passing too many parameters.

src/source-napatech.c

index 84fd2788edb418c14352e0914ba85aeb8c3c704b..a574f241774c4abab2a123d8a26341d4f2b617cc 100644 (file)
@@ -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)) {