diff --git a/src/libs/compat/freebsd_network/compat/sys/mbuf.h b/src/libs/compat/freebsd_network/compat/sys/mbuf.h index f26227cbc6..da90a86f8c 100644 --- a/src/libs/compat/freebsd_network/compat/sys/mbuf.h +++ b/src/libs/compat/freebsd_network/compat/sys/mbuf.h @@ -11,7 +11,7 @@ #define MLEN ((int)(MSIZE - sizeof(struct m_hdr))) -#define MHLEN ((int)(MSIZE - sizeof(struct pkthdr))) +#define MHLEN ((int)(MLEN - sizeof(struct pkthdr))) #define MINCLSIZE (MHLEN + 1)