diff --git a/src/capture.c b/src/capture.c index 43a9085..daf8b81 100644 --- a/src/capture.c +++ b/src/capture.c @@ -201,6 +201,9 @@ capture_offline(const char *infile) infile = "/dev/stdin"; } + // Set capture thread function + capinfo->capture_fn = capture_thread; + // Set capture input file capinfo->infile = infile; capinfo->ispcap = true;