summaryrefslogtreecommitdiff
path: root/sys/netinet6/raw_ipv6.c
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-06-18 19:07:28 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-06-18 19:07:28 +0000
commitd775d08e968298b55cf7e7ca72e2c0d105edee15 (patch)
tree5696d07fde4d0002f0917b857efc840f0702e7fe /sys/netinet6/raw_ipv6.c
parenta525da4b1476c0455345ccc7b72c04edb9d99772 (diff)
remove remains from NRL ipsec code
Diffstat (limited to 'sys/netinet6/raw_ipv6.c')
-rw-r--r--sys/netinet6/raw_ipv6.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/sys/netinet6/raw_ipv6.c b/sys/netinet6/raw_ipv6.c
index f43e870c205..ce6484aaa26 100644
--- a/sys/netinet6/raw_ipv6.c
+++ b/sys/netinet6/raw_ipv6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: raw_ipv6.c,v 1.20 2000/06/18 18:59:12 itojun Exp $ */
+/* $OpenBSD: raw_ipv6.c,v 1.21 2000/06/18 19:07:27 itojun Exp $ */
/*
%%% copyright-nrl-95
@@ -44,7 +44,7 @@ didn't get a copy, you may request one from <license@ipv6.nrl.navy.mil>.
* SUCH DAMAGE.
*
* @(#)raw_ip.c 8.7 (Berkeley) 5/15/95
- * $Id: raw_ipv6.c,v 1.20 2000/06/18 18:59:12 itojun Exp $
+ * $Id: raw_ipv6.c,v 1.21 2000/06/18 19:07:27 itojun Exp $
*/
#include <sys/param.h>
@@ -275,17 +275,6 @@ rip6_input(mp, offp, proto)
foundone = 1;
-#ifdef IPSEC
- /* Perform input-side policy check. Drop packet if policy says to drop it.
-
- Note: For ICMPv6 packets, we also checked policy in ipv6_icmp_input().
-
- XXX - state arg should NOT be NULL, it should be the netproc state
- carried up the stack - cmetz */
- if (!netproc_inputpolicy(NULL, (struct sockaddr *)&srcsa,
- (struct sockaddr *)&dstsa, nexthdr, m, NULL, NULL))
-#endif /* IPSEC */
-
/* Note the inefficiency here; this is a consequence of the interfaces of
the functions being used. The raw code is not performance critical
enough to require an immediate fix. - cmetz */