Small fix to make this compile even if no BPFs are being compiled
in. Unfortunately, the BPF-only code called a label that wan't also being #if'ed, and this made the compiler bitch. Now that we compile with -Werror, this prevented the thing from compiling at all! (sigh)
This commit is contained in:
parent
7117cf93ec
commit
3189406a17
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_fddisubr.c,v 1.8 1996/10/13 02:11:01 christos Exp $ */
|
||||
/* $NetBSD: if_fddisubr.c,v 1.9 1996/10/21 01:58:23 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995
|
||||
@ -346,7 +346,9 @@ fddi_output(ifp, m0, dst, rt0)
|
||||
fh = mtod(m, struct fddi_header *);
|
||||
fh->fddi_fc = FDDIFC_LLC_ASYNC|FDDIFC_LLC_PRIO4;
|
||||
bcopy((caddr_t)edst, (caddr_t)fh->fddi_dhost, sizeof (edst));
|
||||
#if NBPFILTER > 0
|
||||
queue_it:
|
||||
#endif
|
||||
bcopy((caddr_t)ac->ac_enaddr, (caddr_t)fh->fddi_shost,
|
||||
sizeof(fh->fddi_shost));
|
||||
s = splimp();
|
||||
|
Loading…
Reference in New Issue
Block a user