mirror of https://github.com/OISF/suricata
pcap-file: limit setvbuf to linux
As it fails to work correctly on FreeBSD and OpenBSD. On FreeBSD, these are the errors: Info: pcap: Pcap-file will use 4096 buffer size [PcapFileGlobalInit:source-pcap-file.c:159] Error: pcap: failed to get first packet timestamp. pcap_next_ex(): -2 [PeekFirstPacketTimestamp:source-pcap-file-helper.c:186] Warning: pcap: Failed to init pcap file input.pcap, skipping [ReceivePcapFileThreadInit:source-pcap-file.c:299] Error: pcap: pcap file reader thread failed to initialize [ReceivePcapFileLoop:source-pcap-file.c:185]pull/11683/head
parent
688bd538cf
commit
cff82f16b3
Loading…
Reference in New Issue