tcpdump: Backport a fix required for upcoming libpcap update
See also: 51f9c3b947
Reviewed by: emaste
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
47d1e67874
commit
512c553671
@ -73,7 +73,13 @@ extern char *program_name; /* used to generate self-identifying messages */
|
||||
|
||||
#ifndef HAVE_BPF_DUMP
|
||||
struct bpf_program;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* With Capsicum bpf_dump() may be not declared even if HAVE_BPF_DUMP is set.
|
||||
*/
|
||||
#if !defined(HAVE_BPF_DUMP) || \
|
||||
(defined(HAVE_BPF_DUMP) && HAVE_CAPSICUM && !defined(bpf_dump))
|
||||
extern void bpf_dump(const struct bpf_program *, int);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user