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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83188
@ -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 New Issue
Block a user