From 564b6a39bc60122dd377e657123ba8f3d4a7ccf7 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 20 Feb 2001 19:39:49 +0000 Subject: for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok --- sys/dev/ofw/ofnet.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'sys/dev/ofw/ofnet.c') diff --git a/sys/dev/ofw/ofnet.c b/sys/dev/ofw/ofnet.c index 8efc624d665..17c811d1fca 100644 --- a/sys/dev/ofw/ofnet.c +++ b/sys/dev/ofw/ofnet.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofnet.c,v 1.3 1999/10/28 04:25:25 rahnds Exp $ */ +/* $OpenBSD: ofnet.c,v 1.4 2001/02/20 19:39:42 mickey Exp $ */ /* $NetBSD: ofnet.c,v 1.4 1996/10/16 19:33:21 ws Exp $ */ /* @@ -165,11 +165,6 @@ printf("\nethernet dev: path %s\n", path); if_attach(ifp); ether_ifattach(ifp); -#if NBPFILTER > 0 - bpfattach(&of->sc_arpcom.ac_if.if_bpf, ifp, DLT_EN10MB, - sizeof(struct ether_header)); -#endif - dk_establish(0, self); /* XXX */ } -- cgit v1.2.3