diff --git a/sys/netinet/ip_encap.c b/sys/netinet/ip_encap.c index e3844dfdd8e..74534feb812 100644 --- a/sys/netinet/ip_encap.c +++ b/sys/netinet/ip_encap.c @@ -73,7 +73,6 @@ #include #include -#include #include #include #include @@ -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); }