examples/capture: fix the slot

Use slot->slot_next, not the slot as passed in.
pull/10720/head
Jason Ish 11 months ago committed by Victor Julien
parent f104e9cecc
commit 02b019d071

@ -59,7 +59,7 @@ static TmEcode ReceiveLoop(ThreadVars *tv, void *data, void *slot)
SCReturnInt(TM_ECODE_OK);
}
TmSlot *s = (TmSlot *)slot;
TmSlot *s = ((TmSlot *)slot)->slot_next;
/* Notify we are running and processing packets. */
TmThreadsSetFlag(tv, THV_RUNNING);

Loading…
Cancel
Save