I really hope this is the right answer.

call ip_input directly but take the offset off the
packet first if it's an IPV4 packet encapsulated.
This commit is contained in:
Julian Elischer 2001-09-03 21:07:31 +00:00
parent 7dd66b4ad8
commit 4d2c57188f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82892

View File

@ -73,6 +73,7 @@
#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>
@ -222,7 +223,8 @@ encap4_input(m, va_alist)
* (It is also not compiled in in LINT)
*/
if (proto == IPPROTO_IPV4) {
ip_input(m, off);
m_adj(m, off);
ip_input(m/*, off */);
return;
}