Fix pcap returning out of it's loop every time.

remotes/origin/master-1.0.x
Victor Julien 16 years ago
parent 53c21410b6
commit 8c0a5269c0

@ -132,7 +132,7 @@ int ReceivePcap(ThreadVars *tv, Packet *p, void *data, PacketQueue *pq) {
break;
}
if (tv->flags != 0) {
if (tv->flags & THV_KILL || tv->flags & THV_PAUSE) {
printf("ReceivePcap: interrupted.\n");
return 0;
}

Loading…
Cancel
Save