summaryrefslogtreecommitdiff
path: root/sys/dev/tx
diff options
context:
space:
mode:
authorArchie Cobbs <archie@FreeBSD.org>2000-05-24 00:05:44 +0000
committerArchie Cobbs <archie@FreeBSD.org>2000-05-24 00:05:44 +0000
commitd61b89e4b3e6dfee11b4cb2dec3a9f8851e300e1 (patch)
tree8568fa8224bf8fadb752ef04435b47852a863dfe /sys/dev/tx
parent7ecff35b0d88fb1aea2cefd4ff859bf505f529ff (diff)
Notes
Diffstat (limited to 'sys/dev/tx')
-rw-r--r--sys/dev/tx/if_tx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/tx/if_tx.c b/sys/dev/tx/if_tx.c
index d575bca46dba..b14946083de7 100644
--- a/sys/dev/tx/if_tx.c
+++ b/sys/dev/tx/if_tx.c
@@ -921,11 +921,13 @@ epic_rx_done(sc)
m->m_pkthdr.rcvif = &(sc->sc_if);
m->m_pkthdr.len = m->m_len = len;
+#if !defined(__FreeBSD__)
#if NBPFILTER > 0
/* Give mbuf to BPFILTER */
if( sc->sc_if.if_bpf )
bpf_mtap( EPIC_BPFTAP_ARG(&sc->sc_if), m );
#endif /* NBPFILTER > 0 */
+#endif /* !__FreeBSD__ */
/* Second mbuf holds packet ifself */
m->m_pkthdr.len = m->m_len = len - sizeof(struct ether_header);