aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_encap.c
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>2001-09-07 07:24:28 +0000
committerJulian Elischer <julian@FreeBSD.org>2001-09-07 07:24:28 +0000
commitaa1489d4fa7cdeec3dafd9c0c92e153a1852a6f5 (patch)
treedcb792524ca83ae1945356b7e141c40a86dc7860 /sys/netinet/ip_encap.c
parentff265614c166724356a66c341ff3bb9c4ee3c260 (diff)
downloadsrc-aa1489d4fa7cdeec3dafd9c0c92e153a1852a6f5.tar.gz
src-aa1489d4fa7cdeec3dafd9c0c92e153a1852a6f5.zip
Remove some un-needed code that was accidentally included in
the 2nd previous KAME patch. Submitted by: SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
Notes
Notes: svn path=/head/; revision=83188
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 e3844dfdd8e5..74534feb812e 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);
}