diff options
| author | hans <hans@NetBSD.org> | 2008-10-16 18:56:56 +0000 |
|---|---|---|
| committer | hans <hans@NetBSD.org> | 2008-10-16 18:56:56 +0000 |
| commit | b0d4e5c1a749d33dbe5c42513ac8beebd98bca54 (patch) | |
| tree | 357b24975ee757289aa5eed782dccb982c945103 /sys/netinet | |
| parent | 27724c38ae5a9fff312e163622f9e70a937f2b90 (diff) | |
include bpf headers so that the bpf calls actually do something. ok by cube.
Diffstat (limited to 'sys/netinet')
| -rw-r--r-- | sys/netinet/ip_etherip.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/netinet/ip_etherip.c b/sys/netinet/ip_etherip.c index 7587b944bc9..56ccd31aded 100644 --- a/sys/netinet/ip_etherip.c +++ b/sys/netinet/ip_etherip.c @@ -1,4 +1,4 @@ -/* $NetBSD: ip_etherip.c,v 1.9 2008/04/12 05:58:22 thorpej Exp $ */ +/* $NetBSD: ip_etherip.c,v 1.10 2008/10/16 18:56:56 hans Exp $ */ /* * Copyright (c) 2006, Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org> @@ -58,9 +58,10 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ip_etherip.c,v 1.9 2008/04/12 05:58:22 thorpej Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ip_etherip.c,v 1.10 2008/10/16 18:56:56 hans Exp $"); #include "opt_inet.h" +#include "bpfilter.h" #include <sys/param.h> #include <sys/systm.h> @@ -87,6 +88,9 @@ __KERNEL_RCSID(0, "$NetBSD: ip_etherip.c,v 1.9 2008/04/12 05:58:22 thorpej Exp $ #include <net/if_ether.h> #include <net/if_media.h> #include <net/if_etherip.h> +#if NBPFILTER > 0 +#include <net/bpf.h> +#endif #include <machine/stdarg.h> |
