--- if_loop.c.orig Wed Aug 22 14:22:54 2001 +++ if_loop.c Wed Aug 22 14:23:52 2001 @@ -223,22 +223,8 @@ } /* Let BPF see incoming packet */ - if (ifp->if_bpf) { - struct mbuf m0, *n = m; - - /* - * We need to prepend the address family as - * a four byte field. Cons up a dummy header - * to pacify bpf. This is safe because bpf - * will only read from the mbuf (i.e., it won't - * try to free it or keep a pointer a to it). - */ - m0.m_next = m; - m0.m_len = 4; - m0.m_data = (char *)⁡ - n = &m0; - bpf_mtap(ifp, n); - } + if (ifp->if_bpf) + bpf_mtap(ifp, m); /* Strip away media header */ if (hlen > 0) {