1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

lmc(4): fix the build without the bpf device

"make buildkernel" now works with and without "device bpf".

Reported by:	Dave Mischler <dave@mischler.com>
MFC after:	3 days
Sponsored by:	Dell EMC
This commit is contained in:
Eric van Gyzen 2016-10-01 22:21:10 +00:00
parent dda41f2078
commit fb6ddd454a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306567

View File

@ -91,7 +91,11 @@
# define P2P 0 /* not in FreeBSD */
# define NSPPP 1 /* No count devices in FreeBSD 5 */
# include "opt_bpf.h" /* DEV_BPF */
# define NBPFILTER DEV_BPF
# ifdef DEV_BPF
# define NBPFILTER 1
# else
# define NBPFILTER 0
# endif
# define GEN_HDLC 0 /* not in FreeBSD */
#
# include <sys/systm.h>