summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_encap.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2001-09-07 07:24:28 +0000
committerjulian <julian@FreeBSD.org>2001-09-07 07:24:28 +0000
commit9ade8e40448393faef30f87e0ac561783226ca43 (patch)
treedcb792524ca83ae1945356b7e141c40a86dc7860 /sys/netinet/ip_encap.c
parent3cc9960fd1b52e850d61e0fdab1cf2cb1a9f3735 (diff)
downloadFreeBSD-src-9ade8e40448393faef30f87e0ac561783226ca43.zip
FreeBSD-src-9ade8e40448393faef30f87e0ac561783226ca43.tar.gz
Remove some un-needed code that was accidentally included in
the 2nd previous KAME patch. Submitted by: SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
Diffstat (limited to 'sys/netinet/ip_encap.c')
-rw-r--r--sys/netinet/ip_encap.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/netinet/ip_encap.c b/sys/netinet/ip_encap.c
index e3844df..74534fe 100644
--- a/sys/netinet/ip_encap.c
+++ b/sys/netinet/ip_encap.c
@@ -73,7 +73,6 @@
#include <net/route.h>
#include <netinet/in.h>
-#include <netinet/in_var.h>
#include <netinet/in_systm.h>
#include <netinet/ip.h>
#include <netinet/ip_var.h>
@@ -205,20 +204,6 @@ encap4_input(m, off)
return;
}
- /* for backward compatibility - messy... */
- /* XXX
- * I THINK they meant to call ip_input()
- * The original code called ipip_input()
- * which just calls rip_input()
- * which makes no sense.
- * (It is also not compiled in in LINT)
- */
- if (proto == IPPROTO_IPV4) {
- m_adj(m, off);
- ip_input(m/*, off */);
- return;
- }
-
/* last resort: inject to raw socket */
rip_input(m, off);
}
OpenPOWER on IntegriCloud