summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-02-22 21:26:58 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-02-22 21:26:58 +0000
commit587476c34bf5a32f3795d7e25eaac365650efa98 (patch)
tree72353a3dd520fedcac16ee8e972fef6b994760ed /sys
parent9784f0e660b7eb5999162e3c75fa28762f547a88 (diff)
GCC 2.8 -Wall
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_de.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/pci/if_de.c b/sys/dev/pci/if_de.c
index 29513f448f0..2f008713353 100644
--- a/sys/dev/pci/if_de.c
+++ b/sys/dev/pci/if_de.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_de.c,v 1.28 1998/01/07 11:03:26 deraadt Exp $ */
+/* $OpenBSD: if_de.c,v 1.29 1998/02/22 21:26:57 niklas Exp $ */
/* $NetBSD: if_de.c,v 1.45 1997/06/09 00:34:18 thorpej Exp $ */
/*-
@@ -3378,11 +3378,12 @@ tulip_rx_intr(
me->m_len = total_len - last_offset;
eh = *mtod(ms, struct ether_header *);
#if NBPFILTER > 0
- if (sc->tulip_bpf != NULL)
+ if (sc->tulip_bpf != NULL) {
if (me == ms)
TULIP_BPF_TAP(sc, mtod(ms, caddr_t), total_len);
else
TULIP_BPF_MTAP(sc, ms);
+ }
#endif
sc->tulip_flags |= TULIP_RXACT;
if ((sc->tulip_flags & (TULIP_PROMISC|TULIP_HASHONLY))