Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/sys/arch/mac68k/dev Pull up revision 1.15 (requested by...



details:   https://anonhg.NetBSD.org/src/rev/d7037c9535c9
branches:  netbsd-1-4
changeset: 469906:d7037c9535c9
user:      he <he%NetBSD.org@localhost>
date:      Mon Dec 20 15:03:18 1999 +0000

description:
Pull up revision 1.15 (requested by scottr):
  Make this compile without bpf.

diffstat:

 sys/arch/mac68k/dev/if_mc.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 576a057e29fe -r d7037c9535c9 sys/arch/mac68k/dev/if_mc.c
--- a/sys/arch/mac68k/dev/if_mc.c       Mon Dec 20 15:01:15 1999 +0000
+++ b/sys/arch/mac68k/dev/if_mc.c       Mon Dec 20 15:03:18 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_mc.c,v 1.12 1998/12/22 08:47:05 scottr Exp $        */
+/*     $NetBSD: if_mc.c,v 1.12.4.1 1999/12/20 15:03:18 he Exp $        */
 
 /*-
  * Copyright (c) 1997 David Huang <khym%bga.com@localhost>
@@ -624,7 +624,9 @@
        int len;
 {
        struct ifnet *ifp = &sc->sc_if;
+#if NBPFILTER > 0
        struct ether_header *eh = (struct ether_header *)pkt;
+#endif
        struct mbuf *m;
 
        if (len <= sizeof(struct ether_header) ||



Home | Main Index | Thread Index | Old Index