diff options
Diffstat (limited to 'sys/net/if_ef.c')
-rw-r--r-- | sys/net/if_ef.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if_ef.c b/sys/net/if_ef.c index 97d93c8..e2ede08 100644 --- a/sys/net/if_ef.c +++ b/sys/net/if_ef.c @@ -128,9 +128,7 @@ ef_attach(struct efnet *sc) /* * Attach the interface */ - if_attach(ifp); - ether_ifattach(ifp); - bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header)); + ether_ifattach(ifp, ETHER_BPF_SUPPORTED); ifp->if_resolvemulti = 0; ifp->if_type = IFT_XETHER; |