summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_sf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/if_sf.c')
-rw-r--r--sys/dev/pci/if_sf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/pci/if_sf.c b/sys/dev/pci/if_sf.c
index 289b3470ede..e7b87448301 100644
--- a/sys/dev/pci/if_sf.c
+++ b/sys/dev/pci/if_sf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_sf.c,v 1.35 2006/03/20 16:15:03 brad Exp $ */
+/* $OpenBSD: if_sf.c,v 1.36 2006/03/25 22:41:45 djm Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
* Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
@@ -867,7 +867,7 @@ void sf_rxeof(sc)
#if NBPFILTER > 0
if (ifp->if_bpf)
- bpf_mtap(ifp->if_bpf, m);
+ bpf_mtap(ifp->if_bpf, m, BPF_DIRECTION_IN);
#endif
/* pass it on. */
@@ -1240,7 +1240,8 @@ void sf_start(ifp)
* to him.
*/
if (ifp->if_bpf)
- bpf_mtap(ifp->if_bpf, cur_tx->sf_mbuf);
+ bpf_mtap(ifp->if_bpf, cur_tx->sf_mbuf,
+ BPF_DIRECTION_OUT);
#endif
SF_INC(i, SF_TX_DLIST_CNT);