mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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
1 changed files with 8 additions and 1 deletions
|
|
@ -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 a new issue