diff options
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/if_bge.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/pci/if_bge.c b/sys/dev/pci/if_bge.c index d16be0beadd..9c43401b32c 100644 --- a/sys/dev/pci/if_bge.c +++ b/sys/dev/pci/if_bge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bge.c,v 1.9 2002/04/08 21:46:23 nate Exp $ */ +/* $OpenBSD: if_bge.c,v 1.10 2002/04/26 18:42:49 nate Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2001 @@ -2281,12 +2281,14 @@ bge_start(ifp) IFQ_DEQUEUE(&ifp->if_snd, m_head); pkts++; +#if NBPFILTER > 0 /* * If there's a BPF listener, bounce a copy of this frame * to him. */ if (ifp->if_bpf) bpf_mtap(ifp->if_bpf, m_head); +#endif } if (pkts == 0) return; |