Call ip_input() instead of ipip_input()

when decoding encapsulated ipv4 packets.
(allows line to compile again)
This commit is contained in:
Julian Elischer 2001-09-03 20:55:35 +00:00
parent 2e4f1ee934
commit 7dd66b4ad8

View File

@ -214,8 +214,15 @@ encap4_input(m, va_alist)
}
/* 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) {
ipip_input(m, off);
ip_input(m, off);
return;
}