summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/mac/if_bm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc/mac/if_bm.c')
-rw-r--r--sys/arch/powerpc/mac/if_bm.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/arch/powerpc/mac/if_bm.c b/sys/arch/powerpc/mac/if_bm.c
index ac161f76a26..bb2c8846e89 100644
--- a/sys/arch/powerpc/mac/if_bm.c
+++ b/sys/arch/powerpc/mac/if_bm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bm.c,v 1.8 2001/07/09 03:30:20 mickey Exp $ */
+/* $OpenBSD: if_bm.c,v 1.9 2001/07/10 02:16:11 fgsch Exp $ */
/* $NetBSD: if_bm.c,v 1.1 1999/01/01 01:27:52 tsubai Exp $ */
/*-
@@ -536,12 +536,7 @@ bmac_rint(v)
bpf_mtap(ifp->if_bpf, m);
#endif
#ifdef __OpenBSD__
-#if 0
- ether_input(ifp, mtod(m, struct ether_header *), m);
-#else
- m_adj(m, sizeof(struct ether_header));
- ether_input(ifp, data, m);
-#endif
+ ether_input_mbuf(ifp, m);
#else
m_adj(m, sizeof(struct ether_header));
ether_input(ifp, data, m);