Call ip_input() instead of ipip_input()
when decoding encapsulated ipv4 packets. (allows line to compile again)
This commit is contained in:
parent
afd8dd54f7
commit
59aec877bb
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user