summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-28 05:30:55 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-28 05:30:55 +0000
commitdb9e80bb7f743f313e900dc7462cdf1d2ba86506 (patch)
tree42e91f7468c00037fbf6a6c29d97f2ceac4354ba
parente6c9b424494f4a08e2c775e800c45d3a9aa4cb78 (diff)
Don't check IP_ENCAPSULATED.
-rw-r--r--sys/netinet/ip_output.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c
index aed77d41e7c..bc10dfa0d09 100644
--- a/sys/netinet/ip_output.c
+++ b/sys/netinet/ip_output.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_output.c,v 1.95 2001/05/27 11:50:37 angelos Exp $ */
+/* $OpenBSD: ip_output.c,v 1.96 2001/05/28 05:30:54 angelos Exp $ */
/* $NetBSD: ip_output.c,v 1.28 1996/02/13 23:43:07 christos Exp $ */
/*
@@ -264,11 +264,6 @@ ip_output(m0, va_alist)
#ifdef IPSEC
skip_routing:
-
- /* Disallow nested IPsec for now */
- if (flags & IP_ENCAPSULATED)
- goto done_spd;
-
/*
* splnet is chosen over spltdb because we are not allowed to
* lower the level, and udp_output calls us in splnet().