diff options
author | julian <julian@FreeBSD.org> | 2001-09-07 07:24:28 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2001-09-07 07:24:28 +0000 |
commit | 9ade8e40448393faef30f87e0ac561783226ca43 (patch) | |
tree | dcb792524ca83ae1945356b7e141c40a86dc7860 /sys/netinet | |
parent | 3cc9960fd1b52e850d61e0fdab1cf2cb1a9f3735 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/netinet/ip_encap.c | 15 |
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); } |