diff options
author | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-10-18 21:11:03 +0000 |
---|---|---|
committer | Marcus Glocker <mglocker@cvs.openbsd.org> | 2006-10-18 21:11:03 +0000 |
commit | 6d5d180927bfa98822fd3ec0264d7044cd3e74f0 (patch) | |
tree | c6e306b7f2429cd212f3f1e2ea3e16d2a2ee5898 /sys/dev/ic/rt2661.c | |
parent | 64b239d90de0ee9d0fde5c3ac0c0c925687877f2 (diff) |
Fix packet length for RX bpf mtap.
ok damien@
Diffstat (limited to 'sys/dev/ic/rt2661.c')
-rw-r--r-- | sys/dev/ic/rt2661.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rt2661.c b/sys/dev/ic/rt2661.c index 70dddcd427b..480ba3de285 100644 --- a/sys/dev/ic/rt2661.c +++ b/sys/dev/ic/rt2661.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2661.c,v 1.27 2006/09/18 16:20:20 damien Exp $ */ +/* $OpenBSD: rt2661.c,v 1.28 2006/10/18 21:11:02 mglocker Exp $ */ /*- * Copyright (c) 2006 @@ -1123,7 +1123,7 @@ rt2661_rx_intr(struct rt2661_softc *sc) M_DUP_PKTHDR(&mb, m); mb.m_data = (caddr_t)tap; - mb.m_len = sc->sc_txtap_len; + mb.m_len = sc->sc_rxtap_len; mb.m_next = m; mb.m_pkthdr.len += mb.m_len; bpf_mtap(sc->sc_drvbpf, &mb, BPF_DIRECTION_IN); |