From 429b60be48988f3a9914a97bff8dd733fc6e7c88 Mon Sep 17 00:00:00 2001 From: Kaian Date: Mon, 2 May 2022 09:27:42 +0200 Subject: [PATCH] capture: add capture thread function for offline pcap capture --- src/capture.c | 3 +++ 1 file changed, 3 insertions(+) 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;