summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>1999-12-15 07:04:21 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>1999-12-15 07:04:21 +0000
commitf5355192bdcc9b6c2df0183084e9014bc661693f (patch)
treec0de5c03eb53f41137e1cea4893049d2e9284856
parentd0a7b4f424c1e61fe5307b2a4149845a2857d4ad (diff)
don't check INET too much, it will make trouble with lkm compilation.
-rw-r--r--sys/netinet/fil.c11
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,