Call ip_input() instead of ipip_input()
when decoding encapsulated ipv4 packets. (allows line to compile again)
This commit is contained in:
parent
2e4f1ee934
commit
7dd66b4ad8
@ -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