Actions
Feature #2637
closedaf-packet: improve error output for BPF loading failure
Effort:
Difficulty:
Label:
Description
"pcap_compile_nopcap() is similar to pcap_compile() except that instead of passing a pcap structure, one passes the snaplen and linktype explicitly. It is intended to be used for compiling filters for direct BPF usage, without necessarily having called pcap_open(). A return of -1 indicates an error; the error text is unavailable. (pcap_compile_nopcap() is a wrapper around pcap_open_dead(), pcap_compile(), and pcap_close(); the latter three routines can be used directly in order to get the error text for a compilation error.) "
Updated by Eric Leblond almost 6 years ago
- Status changed from New to Closed
Closed via https://github.com/OISF/suricata/pull/3567
Actions