diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-20 19:39:49 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-02-20 19:39:49 +0000 |
commit | 564b6a39bc60122dd377e657123ba8f3d4a7ccf7 (patch) | |
tree | ad1d5486bcb8cb02e81599277cc10687746dcbe1 /sys/dev/ic/an.c | |
parent | 538f9f995c2e33db913284c36581dd9e7c924f9c (diff) |
for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ ok
Diffstat (limited to 'sys/dev/ic/an.c')
-rw-r--r-- | sys/dev/ic/an.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/an.c b/sys/dev/ic/an.c index 3070470c45a..22bf5997d1c 100644 --- a/sys/dev/ic/an.c +++ b/sys/dev/ic/an.c @@ -1,4 +1,4 @@ -/* $OpenBSD: an.c,v 1.10 2001/01/10 17:50:15 angelos Exp $ */ +/* $OpenBSD: an.c,v 1.11 2001/02/20 19:39:38 mickey Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -132,7 +132,7 @@ #define TIMEOUT(handle,func,sc,time) timeout_add(&(handle), (time)) #define UNTIMEOUT(func,sc,handle) timeout_del(&(handle)) #define BPF_MTAP(if,mbuf) bpf_mtap((if)->if_bpf, (mbuf)) -#define BPFATTACH(if_bpf,if,dlt,sz) bpfattach((if_bpf), (if), (dlt), (sz)) +#define BPFATTACH(if_bpf,if,dlt,sz) struct cfdriver an_cd = { NULL, "an", DV_IFNET |