mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove some un-needed code that was accidentally included in
the 2nd previous KAME patch. Submitted by: SUMIKAWA Munechika <sumikawa@ebina.hitachi.co.jp>
This commit is contained in:
parent
ff265614c1
commit
aa1489d4fa
1 changed files with 0 additions and 15 deletions
|
|
@ -73,7 +73,6 @@
|
|||
#include <net/route.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/in_var.h>
|
||||
#include <netinet/in_systm.h>
|
||||
#include <netinet/ip.h>
|
||||
#include <netinet/ip_var.h>
|
||||
|
|
@ -205,20 +204,6 @@ encap4_input(m, off)
|
|||
return;
|
||||
}
|
||||
|
||||
/* 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) {
|
||||
m_adj(m, off);
|
||||
ip_input(m/*, off */);
|
||||
return;
|
||||
}
|
||||
|
||||
/* last resort: inject to raw socket */
|
||||
rip_input(m, off);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue