From dc6531d9b1b6ce55370a4cee6183aa644690daf2 Mon Sep 17 00:00:00 2001 From: rpaulo Date: Sat, 11 Apr 2009 17:36:11 +0000 Subject: Revert previous commit that commented out some bpf functions. Unconstify arguments of bpf_image(), bpf_filter() and bpf_dump(). This is needed because some ports rely heavely on these arguments (some of them even roll out their own implemenentations of bpf_dump). --- contrib/libpcap/bpf_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/libpcap/bpf_dump.c') diff --git a/contrib/libpcap/bpf_dump.c b/contrib/libpcap/bpf_dump.c index 5c0033d..630fa5c 100644 --- a/contrib/libpcap/bpf_dump.c +++ b/contrib/libpcap/bpf_dump.c @@ -31,7 +31,7 @@ static const char rcsid[] _U_ = #include void -bpf_dump(const struct bpf_program *p, int option) +bpf_dump(struct bpf_program *p, int option) { const struct bpf_insn *insn; int i; -- cgit v1.1