summaryrefslogtreecommitdiff
path: root/bpf_dump.c
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2009-03-21 20:43:56 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2009-03-21 20:43:56 +0000
commitc6a6c5e28b1033c61a7bb7e108fa0592b22cc016 (patch)
tree1c663fff98874ff52b3f01d448e178f668ba0307 /bpf_dump.c
parent3430dc7c1fc255ec21a9b5e9c189ec01d930c6bd (diff)
Notes
Diffstat (limited to 'bpf_dump.c')
-rw-r--r--bpf_dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bpf_dump.c b/bpf_dump.c
index 303602e20772f..5c0033dc5de57 100644
--- a/bpf_dump.c
+++ b/bpf_dump.c
@@ -20,7 +20,7 @@
*/
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/libpcap/bpf_dump.c,v 1.14 2003/11/15 23:23:57 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/bpf_dump.c,v 1.14.4.1 2008/01/02 04:22:16 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -31,9 +31,9 @@ static const char rcsid[] _U_ =
#include <stdio.h>
void
-bpf_dump(struct bpf_program *p, int option)
+bpf_dump(const struct bpf_program *p, int option)
{
- struct bpf_insn *insn;
+ const struct bpf_insn *insn;
int i;
int n = p->bf_len;