summaryrefslogtreecommitdiffstats
path: root/sys/netinet6/raw_ipv6.c
diff options
context:
space:
mode:
authoritojun <itojun@openbsd.org>2000-06-18 19:07:27 +0000
committeritojun <itojun@openbsd.org>2000-06-18 19:07:27 +0000
commit945dc947de4f6f6cac2cf5155fb0737a33135313 (patch)
treecc240067118b7be7eb5ce36cfb824d1ef4c12bc2 /sys/netinet6/raw_ipv6.c
parentUse ip6_sprintf() rather than the home-cooked inet6_ntoa4() (diff)
downloadwireguard-openbsd-945dc947de4f6f6cac2cf5155fb0737a33135313.tar.xz
wireguard-openbsd-945dc947de4f6f6cac2cf5155fb0737a33135313.zip
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 */