-/* Copyright (C) 2012-2017 Open Information Security Foundation
+/* Copyright (C) 2012-2020 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
* the GNU General Public License version 2 as published by the Free
status = NT_NetRxGet(ntv->rx_stream, &packet_buffer, 1000);
if (unlikely(
status == NT_STATUS_TIMEOUT || status == NT_STATUS_TRYAGAIN)) {
+ if (status == NT_STATUS_TIMEOUT) {
+ TmThreadsCaptureHandleTimeout(tv, ntv->slot, NULL);
+ }
continue;
} else if (unlikely(status != NT_SUCCESS)) {
NAPATECH_ERROR(SC_ERR_NAPATECH_OPEN_FAILED, status);