diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index 69f71d8479b3..1c6d8942b48a 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -1049,8 +1049,8 @@ ip_output(m0, opt, ro, flags, imo, inp) while (m2->m_next != NULL) m2 = m2->m_next; m2->m_next = m1; + m->m_pkthdr.len = tmp; } - m->m_pkthdr.len = tmp; } #endif error = (*ifp->if_output)(ifp, m,