summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_frag.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>1999-12-13 10:41:57 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>1999-12-13 10:41:57 +0000
commitfceb349f3ec829d9a3f7ac0d8b23d79ccaec4930 (patch)
treef4afb5c29b1478f1ee9d3be6571dfd30e850f503 /sys/netinet/ip_frag.c
parentaaa8f06913a08a7a55ed4c9af593e7b99bff6c5f (diff)
remove extra checks for #define INET (merged mistakingly from kame).
this is harmful against some of lkm compilation.
Diffstat (limited to 'sys/netinet/ip_frag.c')
-rw-r--r--sys/netinet/ip_frag.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/netinet/ip_frag.c b/sys/netinet/ip_frag.c
index d7f1a39f030..ef679f3f798 100644
--- a/sys/netinet/ip_frag.c
+++ b/sys/netinet/ip_frag.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_frag.c,v 1.12 1999/12/08 06:50:19 itojun Exp $ */
+/* $OpenBSD: ip_frag.c,v 1.13 1999/12/13 10:41:56 itojun Exp $ */
/*
* Copyright (C) 1993-1998 by Darren Reed.
*
@@ -8,7 +8,7 @@
*/
#if !defined(lint)
static const char sccsid[] = "@(#)ip_frag.c 1.11 3/24/96 (C) 1993-1995 Darren Reed";
-static const char rcsid[] = "@(#)$Id: ip_frag.c,v 1.12 1999/12/08 06:50:19 itojun Exp $";
+static const char rcsid[] = "@(#)$Id: ip_frag.c,v 1.13 1999/12/13 10:41:56 itojun Exp $";
#endif
#include <sys/errno.h>
@@ -51,11 +51,6 @@ static const char rcsid[] = "@(#)$Id: ip_frag.c,v 1.12 1999/12/08 06:50:19 itoju
#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>