diff options
author | 1999-12-15 07:04:20 +0000 | |
---|---|---|
committer | 1999-12-15 07:04:20 +0000 | |
commit | ef74cf8c5a9f8cb774da564db07ef938f1475a4a (patch) | |
tree | 0dbe098162718cd0206214e93ad90c6dfa3f2d28 | |
parent | safe strcpy (diff) | |
download | wireguard-openbsd-ef74cf8c5a9f8cb774da564db07ef938f1475a4a.tar.xz wireguard-openbsd-ef74cf8c5a9f8cb774da564db07ef938f1475a4a.zip |
don't check INET too much, it will make trouble with lkm compilation.
-rw-r--r-- | sys/netinet/fil.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/netinet/fil.c b/sys/netinet/fil.c index f4acf66b495..9eec14d24ff 100644 --- a/sys/netinet/fil.c +++ b/sys/netinet/fil.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fil.c,v 1.17 1999/12/15 05:20:20 kjell Exp $ */ +/* $OpenBSD: fil.c,v 1.18 1999/12/15 07:04:20 itojun Exp $ */ /* * Copyright (C) 1993-1998 by Darren Reed. * @@ -8,7 +8,7 @@ */ #if !defined(lint) static const char sccsid[] = "@(#)fil.c 1.36 6/5/96 (C) 1993-1996 Darren Reed"; -static const char rcsid[] = "@(#)$Id: fil.c,v 1.17 1999/12/15 05:20:20 kjell Exp $"; +static const char rcsid[] = "@(#)$Id: fil.c,v 1.18 1999/12/15 07:04:20 itojun Exp $"; #endif #include <sys/errno.h> @@ -55,11 +55,6 @@ static const char rcsid[] = "@(#)$Id: fil.c,v 1.17 1999/12/15 05:20:20 kjell Exp # include <net/af.h> #endif #include <net/route.h> -#ifdef _KERNEL -# ifndef INET -# error ipfilter assumes options INET -# endif -#endif #include <netinet/in.h> #include <netinet/in_systm.h> #include <netinet/ip.h> @@ -1184,7 +1179,7 @@ nodata: * SUCH DAMAGE. * * @(#)uipc_mbuf.c 8.2 (Berkeley) 1/4/94 - * $Id: fil.c,v 1.17 1999/12/15 05:20:20 kjell Exp $ + * $Id: fil.c,v 1.18 1999/12/15 07:04:20 itojun Exp $ */ /* * Copy data from an mbuf chain starting "off" bytes from the beginning, |