summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_encap.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_encap.c b/sys/netinet/ip_encap.c
index 046f45b..2476d71 100644
--- a/sys/netinet/ip_encap.c
+++ b/sys/netinet/ip_encap.c
@@ -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;
}
OpenPOWER on IntegriCloud