summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_wx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_wx.c')
-rw-r--r--sys/pci/if_wx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/pci/if_wx.c b/sys/pci/if_wx.c
index 387b246..fdd3c0e 100644
--- a/sys/pci/if_wx.c
+++ b/sys/pci/if_wx.c
@@ -1353,9 +1353,11 @@ wx_handle_rxint(sc)
for (idx = 0; idx < npkts; idx++) {
mb = pending[idx];
+#ifndef __FreeBSD__
if (ifp->if_bpf) {
bpf_mtap(WX_BPFTAP_ARG(ifp), mb);
}
+#endif
ifp->if_ipackets++;
if (sc->wx_debug) {
printf("%s: RECV packet length %d\n",
OpenPOWER on IntegriCloud