summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_vmx.c
diff options
context:
space:
mode:
authorMasao Uebayashi <uebayasi@cvs.openbsd.org>2013-06-12 00:19:37 +0000
committerMasao Uebayashi <uebayasi@cvs.openbsd.org>2013-06-12 00:19:37 +0000
commitc8198f7a7f1b48b34dd32a736391f297e41cb895 (patch)
tree70e659cea6a84e5959f2386bb2590857672d2be5 /sys/dev/pci/if_vmx.c
parenta4f33995f6e09e5db80f38b7bc379c8b17746d57 (diff)
Consistenly use bpf_mtap_ether(). From tsubai@.
Diffstat (limited to 'sys/dev/pci/if_vmx.c')
-rw-r--r--sys/dev/pci/if_vmx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_vmx.c b/sys/dev/pci/if_vmx.c
index 091355c6a7d..dfa23ca4489 100644
--- a/sys/dev/pci/if_vmx.c
+++ b/sys/dev/pci/if_vmx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vmx.c,v 1.7 2013/06/12 00:18:00 uebayasi Exp $ */
+/* $OpenBSD: if_vmx.c,v 1.8 2013/06/12 00:19:36 uebayasi Exp $ */
/*
* Copyright (c) 2013 Tsubai Masanari
@@ -728,7 +728,7 @@ vmxnet3_rxintr(struct vmxnet3_softc *sc, struct vmxnet3_rxqueue *rq)
#if NBPFILTER > 0
if (ifp->if_bpf)
- bpf_mtap(ifp->if_bpf, m, BPF_DIRECTION_IN);
+ bpf_mtap_ether(ifp->if_bpf, m, BPF_DIRECTION_IN);
#endif
ether_input_mbuf(ifp, m);