diff options
| author | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2014-09-28 19:05:22 +0000 |
|---|---|---|
| committer | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2014-09-28 19:05:22 +0000 |
| commit | c6682d59068eb7d59c06f82468655cd4bbeb9133 (patch) | |
| tree | e4909fbdd34263e4844e31d151f591336d51f6a0 /sys/dev/cp | |
| parent | 03f90784bf93e340f15c88423dd926de57da8b39 (diff) | |
Notes
Diffstat (limited to 'sys/dev/cp')
| -rw-r--r-- | sys/dev/cp/if_cp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cp/if_cp.c b/sys/dev/cp/if_cp.c index ca6aaf40a038..4e70838fcd9d 100644 --- a/sys/dev/cp/if_cp.c +++ b/sys/dev/cp/if_cp.c @@ -902,7 +902,7 @@ static void cp_receive (cp_chan_t *c, unsigned char *data, int len) m->m_pkthdr.rcvif = d->ifp; /* Check if there's a BPF listener on this interface. * If so, hand off the raw packet to bpf. */ - BPF_TAP (d->ifp, data, len); + BPF_MTAP(d->ifp, m); IF_ENQUEUE (&d->queue, m); #endif } |
