forked from Mirrors/sngrep
capture: add capture thread function for offline pcap capture
This commit is contained in:
parent
7ee20e58a8
commit
429b60be48
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue