summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/if_le.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/if_le.c')
-rw-r--r--sys/i386/isa/if_le.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/i386/isa/if_le.c b/sys/i386/isa/if_le.c
index 7932c74..4ed96bb 100644
--- a/sys/i386/isa/if_le.c
+++ b/sys/i386/isa/if_le.c
@@ -361,10 +361,7 @@ le_attach(
ifp->if_addrlen = 6;
ifp->if_hdrlen = 14;
- bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
-
- if_attach(ifp);
- ether_ifattach(ifp);
+ ether_ifattach(ifp, ETHER_BPF_SUPPORTED);
return 1;
}
OpenPOWER on IntegriCloud