Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/usb/if_kue.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/usb/if_kue.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.9 retrieving revision 1.10 diff -u -p -r1.9 -r1.10 --- src/sys/dev/usb/if_kue.c 2000/02/29 19:08:09 1.9 +++ src/sys/dev/usb/if_kue.c 2000/03/01 19:00:51 1.10 @@ -1,4 +1,4 @@ -/* $NetBSD: if_kue.c,v 1.9 2000/02/29 19:08:09 hubertf Exp $ */ +/* $NetBSD: if_kue.c,v 1.10 2000/03/01 19:00:51 augustss Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 * Bill Paul . All rights reserved. @@ -991,6 +991,7 @@ kue_rxeof(xfer, priv, status) goto done1; } +#if NBPFILTER > 0 /* * Handle BPF listeners. Let the BPF user see the packet, but * don't pass it up to the ether_input() layer unless it's @@ -1008,6 +1009,7 @@ kue_rxeof(xfer, priv, status) goto done1; } } +#endif DPRINTFN(10,("%s: %s: deliver %d\n", USBDEVNAME(sc->kue_dev), __FUNCTION__, m->m_len)); @@ -1156,12 +1158,14 @@ kue_start(ifp) return; } +#if NBPFILTER > 0 /* * If there's a BPF listener, bounce a copy of this frame * to him. */ if (ifp->if_bpf) BPF_MTAP(ifp, m_head); +#endif ifp->if_flags |= IFF_OACTIVE;