diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2009-04-11 17:36:11 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2009-04-11 17:36:11 +0000 |
commit | dc6531d9b1b6ce55370a4cee6183aa644690daf2 (patch) | |
tree | 2a0b01e82224813b931198b5a3a4c0e496d30369 /contrib/libpcap/bpf/net | |
parent | db35db3621c037ac015d13b564eec24582972f8e (diff) | |
download | FreeBSD-src-dc6531d9b1b6ce55370a4cee6183aa644690daf2.zip FreeBSD-src-dc6531d9b1b6ce55370a4cee6183aa644690daf2.tar.gz |
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).
Diffstat (limited to 'contrib/libpcap/bpf/net')
-rw-r--r-- | contrib/libpcap/bpf/net/bpf_filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/libpcap/bpf/net/bpf_filter.c b/contrib/libpcap/bpf/net/bpf_filter.c index a2733d1..77002dc 100644 --- a/contrib/libpcap/bpf/net/bpf_filter.c +++ b/contrib/libpcap/bpf/net/bpf_filter.c @@ -200,8 +200,8 @@ m_xhalf(m, k, err) */ u_int bpf_filter(pc, p, wirelen, buflen) - register const struct bpf_insn *pc; - register const u_char *p; + register struct bpf_insn *pc; + register u_char *p; u_int wirelen; register u_int buflen; { |