napatech: Fix parameters passed to thread-check

This commit corrects an error introduced earlier: the call to
`TmThreadsCaptureHandleTimeout` is passing too many parameters.
pull/4899/head
Jeff Lucovsky 6 years ago committed by Victor Julien
parent 9db8a917a2
commit 690bd14371

@ -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)) {

Loading…
Cancel
Save