diff options
author | 1998-02-22 21:26:57 +0000 | |
---|---|---|
committer | 1998-02-22 21:26:57 +0000 | |
commit | 251adef39d59491d737b956c1be04584a699a993 (patch) | |
tree | a303f030e11985d56460a14952bdc974a56fcbec | |
parent | Merge in NetBSD changes (HUPCL handling and providing current speed (diff) | |
download | wireguard-openbsd-251adef39d59491d737b956c1be04584a699a993.tar.xz wireguard-openbsd-251adef39d59491d737b956c1be04584a699a993.zip |
GCC 2.8 -Wall
-rw-r--r-- | sys/dev/pci/if_de.c | 5 |
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)) |