Call ip_input() instead of ipip_input()

when decoding encapsulated ipv4 packets.
(allows line to compile again)
This commit is contained in:
julian 2001-09-03 20:55:35 +00:00
parent 34824b62c0
commit 70318b8e97

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;
}