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:
parent
7dd66b4ad8
commit
4d2c57188f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82892
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user